Scenario Outline: [1.1:18]wt-f297898-2640-44c2-bbe9-c0480dm83794
ms: 328
>>
Background:
1
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
2
* def mystorage = Java.type('storage.DataStorage')
1
3
* def db = new mystorage
1
4
* def db = db.setfeature(karate.info.featureFileName)
1
5
* def separator = java.lang.System.getProperty("file.separator")
1
6
* def outputpath = db.outputpath()
1
7
* eval db.ensureDirectory(outputpath)
1
8
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
11
Given path 'geonetwork/srv/dut/inspire'
0
12
And param service = 'CSW'
0
13
And param version = '2.0.2'
0
14
And param request = 'GetRecordById'
0
15
And param id = 'wt-f297898-2640-44c2-bbe9-c0480dm83794'
1
16
And param elementsetname = 'full'
0
17
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
18
When method get
313
19
Then status 200
0
20
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-f297898-2640-44c2-bbe9-c0480dm83794'
1
21
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
22
* def title = get response //citation/CI_Citation/title/CharacterString
1
23
* def email = get response //electronicMailAddress/CharacterString
1
24
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
25
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
26
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
27
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
28
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
29
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
30
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
31
* print connectUrl
0
15:15:11.170 [print] https://haleconnect.com/ows/services/org.292.c3955762-73a3-4c16-a15c-f3869487a1e3_wms?service=WMS&version=1.3.0&request=GetCapabilities
32
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
33
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
34
* print organisationpath
0
15:15:11.172 [print] Rijkswaterstaat
35
* print operateson
0
15:15:11.172 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=eu-f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification
36
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
37
* eval db.writeln('"wt-f297898-2640-44c2-bbe9-c0480dm83794","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
38
* eval db.writeln('"wt-f297898-2640-44c2-bbe9-c0480dm83794","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.2:18]95e2c712-1b91-4f24-9453-c56b95227717
ms: 303
>>
Background:
39
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
40
* def mystorage = Java.type('storage.DataStorage')
1
41
* def db = new mystorage
1
42
* def db = db.setfeature(karate.info.featureFileName)
1
43
* def separator = java.lang.System.getProperty("file.separator")
1
44
* def outputpath = db.outputpath()
1
45
* eval db.ensureDirectory(outputpath)
1
46
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
47
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
48
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
49
Given path 'geonetwork/srv/dut/inspire'
0
50
And param service = 'CSW'
0
51
And param version = '2.0.2'
0
52
And param request = 'GetRecordById'
0
53
And param id = '95e2c712-1b91-4f24-9453-c56b95227717'
1
54
And param elementsetname = 'full'
0
55
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
56
When method get
283
57
Then status 200
0
58
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '95e2c712-1b91-4f24-9453-c56b95227717'
1
59
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
60
* def title = get response //citation/CI_Citation/title/CharacterString
1
61
* def email = get response //electronicMailAddress/CharacterString
0
62
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
2
63
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
64
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
1
65
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
66
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
67
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
68
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
1
69
* print connectUrl
0
15:15:11.135 [print] https://inspire.rivm.nl/geoserver/wms?request=GetCapabilities
70
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
71
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
72
* print organisationpath
0
15:15:11.138 [print] Rijksinstituut voor Volksgezondheid en Milieu
73
* print operateson
0
15:15:11.138 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f2f86edf-ac3a-48e8-9292-0544da2d7645#MD_DataIdentification
74
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
75
* eval db.writeln('"95e2c712-1b91-4f24-9453-c56b95227717","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
76
* eval db.writeln('"95e2c712-1b91-4f24-9453-c56b95227717","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.3:18]f2d2cd9d-7410-485a-95e0-c1b885243eaf
ms: 373
>>
Background:
77
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
78
* def mystorage = Java.type('storage.DataStorage')
1
79
* def db = new mystorage
1
80
* def db = db.setfeature(karate.info.featureFileName)
1
81
* def separator = java.lang.System.getProperty("file.separator")
1
82
* def outputpath = db.outputpath()
1
83
* eval db.ensureDirectory(outputpath)
1
84
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
85
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
86
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
87
Given path 'geonetwork/srv/dut/inspire'
0
88
And param service = 'CSW'
0
89
And param version = '2.0.2'
0
90
And param request = 'GetRecordById'
0
91
And param id = 'f2d2cd9d-7410-485a-95e0-c1b885243eaf'
1
92
And param elementsetname = 'full'
0
93
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
94
When method get
360
95
Then status 200
0
96
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f2d2cd9d-7410-485a-95e0-c1b885243eaf'
0
97
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
98
* def title = get response //citation/CI_Citation/title/CharacterString
0
99
* def email = get response //electronicMailAddress/CharacterString
1
100
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
101
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
102
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
103
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
104
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
105
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
106
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
107
* print connectUrl
0
15:15:11.220 [print] https://inspire.caris.nl/geoserver/auwms/wms?request=GetCapabilities
108
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
109
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
110
* print organisationpath
0
15:15:11.221 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
111
* print operateson
0
15:15:11.221 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e8b84fae-00b3-49c1-80c1-df8f69f64e8c#MD_DataIdentification
112
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
113
* eval db.writeln('"f2d2cd9d-7410-485a-95e0-c1b885243eaf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
114
* eval db.writeln('"f2d2cd9d-7410-485a-95e0-c1b885243eaf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.4:18]42da491e-d8b9-47ba-af65-acb15ea8a055
ms: 401
>>
Background:
115
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
116
* def mystorage = Java.type('storage.DataStorage')
1
117
* def db = new mystorage
1
118
* def db = db.setfeature(karate.info.featureFileName)
1
119
* def separator = java.lang.System.getProperty("file.separator")
1
120
* def outputpath = db.outputpath()
1
121
* eval db.ensureDirectory(outputpath)
1
122
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
123
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
124
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
125
Given path 'geonetwork/srv/dut/inspire'
0
126
And param service = 'CSW'
0
127
And param version = '2.0.2'
0
128
And param request = 'GetRecordById'
0
129
And param id = '42da491e-d8b9-47ba-af65-acb15ea8a055'
1
130
And param elementsetname = 'full'
0
131
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
132
When method get
386
133
Then status 200
0
134
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '42da491e-d8b9-47ba-af65-acb15ea8a055'
1
135
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
136
* def title = get response //citation/CI_Citation/title/CharacterString
0
137
* def email = get response //electronicMailAddress/CharacterString
0
138
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
139
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
140
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
141
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
142
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
143
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
144
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
145
* print connectUrl
2
15:15:11.262 [print] https://www.broinspireservices.nl/wms/osamepl-a-v1.0?request=GetCapabilities
146
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
147
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
148
* print organisationpath
0
15:15:11.263 [print]
149
* print operateson
0
15:15:11.264 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=24de356e-ec4d-4a18-9903-6401d222b77c&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
150
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
151
* eval db.writeln('"42da491e-d8b9-47ba-af65-acb15ea8a055","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
152
* eval db.writeln('"42da491e-d8b9-47ba-af65-acb15ea8a055","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.5:18]e29b19de-d191-47f2-b944-5056a7674cce
ms: 302
>>
Background:
153
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
154
* def mystorage = Java.type('storage.DataStorage')
1
155
* def db = new mystorage
1
156
* def db = db.setfeature(karate.info.featureFileName)
1
157
* def separator = java.lang.System.getProperty("file.separator")
1
158
* def outputpath = db.outputpath()
1
159
* eval db.ensureDirectory(outputpath)
1
160
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
161
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
162
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
163
Given path 'geonetwork/srv/dut/inspire'
1
164
And param service = 'CSW'
0
165
And param version = '2.0.2'
0
166
And param request = 'GetRecordById'
0
167
And param id = 'e29b19de-d191-47f2-b944-5056a7674cce'
0
168
And param elementsetname = 'full'
0
169
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
170
When method get
286
171
Then status 200
0
172
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e29b19de-d191-47f2-b944-5056a7674cce'
1
173
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
174
* def title = get response //citation/CI_Citation/title/CharacterString
1
175
* def email = get response //electronicMailAddress/CharacterString
1
176
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
177
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
178
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
179
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
180
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
181
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
182
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
183
* print connectUrl
0
15:15:11.438 [print] https://inspire.caris.nl/gs5/am/wms?service=WMS&version=1.3.0&request=GetCapabilities
184
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
185
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
186
* print organisationpath
0
15:15:11.440 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
187
* print operateson
1
15:15:11.440 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4617f0e0-6af4-4ac0-9044-31df9d03071c#MD_DataIdentification
188
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
189
* eval db.writeln('"e29b19de-d191-47f2-b944-5056a7674cce","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
190
* eval db.writeln('"e29b19de-d191-47f2-b944-5056a7674cce","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.6:18]dda53ebc-bee7-4765-8f1f-6ac59b0aec39
ms: 338
>>
Background:
191
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
192
* def mystorage = Java.type('storage.DataStorage')
1
193
* def db = new mystorage
1
194
* def db = db.setfeature(karate.info.featureFileName)
1
195
* def separator = java.lang.System.getProperty("file.separator")
1
196
* def outputpath = db.outputpath()
1
197
* eval db.ensureDirectory(outputpath)
1
198
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
199
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
200
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
201
Given path 'geonetwork/srv/dut/inspire'
1
202
And param service = 'CSW'
0
203
And param version = '2.0.2'
0
204
And param request = 'GetRecordById'
0
205
And param id = 'dda53ebc-bee7-4765-8f1f-6ac59b0aec39'
1
206
And param elementsetname = 'full'
0
207
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
208
When method get
325
209
Then status 200
0
210
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dda53ebc-bee7-4765-8f1f-6ac59b0aec39'
1
211
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
212
* def title = get response //citation/CI_Citation/title/CharacterString
1
213
* def email = get response //electronicMailAddress/CharacterString
1
214
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
215
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
216
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
217
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
218
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
219
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
220
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
221
* print connectUrl
0
15:15:11.511 [print] https://www.broinspireservices.nl/wms/ossobor-a-v1.0?request=GetCapabilities
222
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
223
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
224
* print organisationpath
0
15:15:11.512 [print] TNO Geologische Dienst Nederland
225
* print operateson
0
15:15:11.512 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=9dd9bf30-36e6-45ae-b368-bdef2720bdde&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
226
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
227
* eval db.writeln('"dda53ebc-bee7-4765-8f1f-6ac59b0aec39","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
228
* eval db.writeln('"dda53ebc-bee7-4765-8f1f-6ac59b0aec39","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.7:18]7dc30aed-0940-4e69-b34c-9f24b34078eb
ms: 322
>>
Background:
229
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
230
* def mystorage = Java.type('storage.DataStorage')
1
231
* def db = new mystorage
1
232
* def db = db.setfeature(karate.info.featureFileName)
1
233
* def separator = java.lang.System.getProperty("file.separator")
1
234
* def outputpath = db.outputpath()
1
235
* eval db.ensureDirectory(outputpath)
1
236
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
237
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
238
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
239
Given path 'geonetwork/srv/dut/inspire'
1
240
And param service = 'CSW'
0
241
And param version = '2.0.2'
0
242
And param request = 'GetRecordById'
0
243
And param id = '7dc30aed-0940-4e69-b34c-9f24b34078eb'
1
244
And param elementsetname = 'full'
0
245
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
246
When method get
308
247
Then status 200
0
248
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7dc30aed-0940-4e69-b34c-9f24b34078eb'
1
249
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
250
* def title = get response //citation/CI_Citation/title/CharacterString
1
251
* def email = get response //electronicMailAddress/CharacterString
1
252
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
253
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
254
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
255
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
256
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
257
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
258
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
1
259
* print connectUrl
0
15:15:11.542 [print] https://inspire.rivm.nl/geoserver/wms?request=GetCapabilities
260
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
261
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
262
* print organisationpath
0
15:15:11.544 [print] Rijksinstituut voor Volksgezondheid en Milieu
263
* print operateson
0
15:15:11.544 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f8d840bc-18df-4449-b797-b9adcb81d3ec#MD_DataIdentification
264
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
265
* eval db.writeln('"7dc30aed-0940-4e69-b34c-9f24b34078eb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
266
* eval db.writeln('"7dc30aed-0940-4e69-b34c-9f24b34078eb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.8:18]5be1b57b-2cac-4119-92eb-700346543d47
ms: 317
>>
Background:
267
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
268
* def mystorage = Java.type('storage.DataStorage')
1
269
* def db = new mystorage
1
270
* def db = db.setfeature(karate.info.featureFileName)
1
271
* def separator = java.lang.System.getProperty("file.separator")
1
272
* def outputpath = db.outputpath()
1
273
* eval db.ensureDirectory(outputpath)
1
274
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
275
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
276
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
277
Given path 'geonetwork/srv/dut/inspire'
1
278
And param service = 'CSW'
0
279
And param version = '2.0.2'
0
280
And param request = 'GetRecordById'
0
281
And param id = '5be1b57b-2cac-4119-92eb-700346543d47'
1
282
And param elementsetname = 'full'
0
283
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
284
When method get
300
285
Then status 200
0
286
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5be1b57b-2cac-4119-92eb-700346543d47'
1
287
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
288
* def title = get response //citation/CI_Citation/title/CharacterString
0
289
* def email = get response //electronicMailAddress/CharacterString
0
290
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
2
291
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
292
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
293
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
294
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
295
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
296
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
297
* print connectUrl
0
15:15:11.578 [print] https://inspire.caris.nl/geoserver/mu/wfs?request=GetCapabilities
298
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
299
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
300
* print organisationpath
1
15:15:11.580 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
301
* print operateson
0
15:15:11.580 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=a5241416-8401-4623-be61-57ef50447a41&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
302
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
303
* eval db.writeln('"5be1b57b-2cac-4119-92eb-700346543d47","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
304
* eval db.writeln('"5be1b57b-2cac-4119-92eb-700346543d47","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.9:18]a8ad0d7d-ea9e-4261-bc92-772e99a41387
ms: 296
>>
Background:
305
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
306
* def mystorage = Java.type('storage.DataStorage')
1
307
* def db = new mystorage
1
308
* def db = db.setfeature(karate.info.featureFileName)
1
309
* def separator = java.lang.System.getProperty("file.separator")
1
310
* def outputpath = db.outputpath()
1
311
* eval db.ensureDirectory(outputpath)
1
312
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
313
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
314
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
315
Given path 'geonetwork/srv/dut/inspire'
1
316
And param service = 'CSW'
0
317
And param version = '2.0.2'
0
318
And param request = 'GetRecordById'
0
319
And param id = 'a8ad0d7d-ea9e-4261-bc92-772e99a41387'
1
320
And param elementsetname = 'full'
0
321
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
322
When method get
283
323
Then status 200
0
324
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a8ad0d7d-ea9e-4261-bc92-772e99a41387'
1
325
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
326
* def title = get response //citation/CI_Citation/title/CharacterString
0
327
* def email = get response //electronicMailAddress/CharacterString
0
328
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
329
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
330
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
331
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
332
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
333
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
334
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
335
* print connectUrl
0
15:15:11.735 [print] https://geodata.nationaalgeoregister.nl/inspireadressen/v2/wfs?service=wfs&request=GetCapabilities
336
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
337
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
338
* print organisationpath
0
15:15:11.737 [print] Beheer PDOK
339
* print operateson
0
15:15:11.737 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/eng/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76091be7-358a-4a44-8182-b4139c96c6a4#MD_DataIdentification
340
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
341
* eval db.writeln('"a8ad0d7d-ea9e-4261-bc92-772e99a41387","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
342
* eval db.writeln('"a8ad0d7d-ea9e-4261-bc92-772e99a41387","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.10:18]542b330b-d3c6-4617-b97f-693e5cfd1872
ms: 310
>>
Background:
343
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
344
* def mystorage = Java.type('storage.DataStorage')
1
345
* def db = new mystorage
1
346
* def db = db.setfeature(karate.info.featureFileName)
1
347
* def separator = java.lang.System.getProperty("file.separator")
1
348
* def outputpath = db.outputpath()
1
349
* eval db.ensureDirectory(outputpath)
1
350
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
351
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
352
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
353
Given path 'geonetwork/srv/dut/inspire'
1
354
And param service = 'CSW'
0
355
And param version = '2.0.2'
0
356
And param request = 'GetRecordById'
0
357
And param id = '542b330b-d3c6-4617-b97f-693e5cfd1872'
1
358
And param elementsetname = 'full'
0
359
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
360
When method get
296
361
Then status 200
0
362
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '542b330b-d3c6-4617-b97f-693e5cfd1872'
1
363
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
364
* def title = get response //citation/CI_Citation/title/CharacterString
1
365
* def email = get response //electronicMailAddress/CharacterString
1
366
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
367
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
368
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
369
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
370
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
371
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
372
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
373
* print connectUrl
0
15:15:11.822 [print] https://www.broinspireservices.nl/wfs/osamepl-a-v1.0?request=GetCapabilities&service=WFS&version=2.0.0
374
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
375
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
376
* print organisationpath
0
15:15:11.823 [print] TNO Geologische Dienst Nederland
377
* print operateson
0
15:15:11.823 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=24de356e-ec4d-4a18-9903-6401d222b77c&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
378
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
379
* eval db.writeln('"542b330b-d3c6-4617-b97f-693e5cfd1872","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
380
* eval db.writeln('"542b330b-d3c6-4617-b97f-693e5cfd1872","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.11:18]cf69ec50-9849-4afd-853c-ee5621md336d
ms: 302
>>
Background:
381
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
382
* def mystorage = Java.type('storage.DataStorage')
1
383
* def db = new mystorage
1
384
* def db = db.setfeature(karate.info.featureFileName)
1
385
* def separator = java.lang.System.getProperty("file.separator")
1
386
* def outputpath = db.outputpath()
1
387
* eval db.ensureDirectory(outputpath)
1
388
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
389
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
390
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
391
Given path 'geonetwork/srv/dut/inspire'
1
392
And param service = 'CSW'
0
393
And param version = '2.0.2'
0
394
And param request = 'GetRecordById'
0
395
And param id = 'cf69ec50-9849-4afd-853c-ee5621md336d'
1
396
And param elementsetname = 'full'
0
397
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
398
When method get
288
399
Then status 200
0
400
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cf69ec50-9849-4afd-853c-ee5621md336d'
1
401
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
402
* def title = get response //citation/CI_Citation/title/CharacterString
0
403
* def email = get response //electronicMailAddress/CharacterString
0
404
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
405
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
406
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
407
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
408
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
409
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
410
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
411
* print connectUrl
1
15:15:11.847 [print] https://waterwebservices.rijkswaterstaat.nl/services/distributielaagWFS/distributielaag_dbo?service=WMS&version=1.0.0&request=GetCapabilities
412
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
413
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
414
* print organisationpath
0
15:15:11.848 [print] Rijkswaterstaat
415
* print operateson
0
15:15:11.848 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&ID=cf69ec50-9849-4afd-853c-ee56211d336d&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
416
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
417
* eval db.writeln('"cf69ec50-9849-4afd-853c-ee5621md336d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
418
* eval db.writeln('"cf69ec50-9849-4afd-853c-ee5621md336d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.12:18]923a666c-ee4f-496c-8c85-94d5f81e1f30
ms: 324
>>
Background:
419
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
420
* def mystorage = Java.type('storage.DataStorage')
1
421
* def db = new mystorage
1
422
* def db = db.setfeature(karate.info.featureFileName)
1
423
* def separator = java.lang.System.getProperty("file.separator")
1
424
* def outputpath = db.outputpath()
1
425
* eval db.ensureDirectory(outputpath)
1
426
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
427
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
428
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
429
Given path 'geonetwork/srv/dut/inspire'
1
430
And param service = 'CSW'
0
431
And param version = '2.0.2'
0
432
And param request = 'GetRecordById'
0
433
And param id = '923a666c-ee4f-496c-8c85-94d5f81e1f30'
1
434
And param elementsetname = 'full'
0
435
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
436
When method get
305
437
Then status 200
0
438
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '923a666c-ee4f-496c-8c85-94d5f81e1f30'
1
439
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
440
* def title = get response //citation/CI_Citation/title/CharacterString
1
441
* def email = get response //electronicMailAddress/CharacterString
1
442
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
443
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
444
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
445
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
446
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
447
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
448
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
449
* print connectUrl
0
15:15:11.901 [print] https://inspire.caris.nl/gs5/am/wfs?service=WFS&request=GetCapabilities
450
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
451
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
452
* print organisationpath
0
15:15:11.903 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
453
* print operateson
0
15:15:11.903 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4617f0e0-6af4-4ac0-9044-31df9d03071c#MD_DataIdentification
454
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
455
* eval db.writeln('"923a666c-ee4f-496c-8c85-94d5f81e1f30","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
4
456
* eval db.writeln('"923a666c-ee4f-496c-8c85-94d5f81e1f30","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.13:18]664862cb-d426-4ee4-97ac-14c12b903b54
ms: 298
>>
Background:
457
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
458
* def mystorage = Java.type('storage.DataStorage')
1
459
* def db = new mystorage
1
460
* def db = db.setfeature(karate.info.featureFileName)
1
461
* def separator = java.lang.System.getProperty("file.separator")
1
462
* def outputpath = db.outputpath()
1
463
* eval db.ensureDirectory(outputpath)
1
464
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
465
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
466
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
467
Given path 'geonetwork/srv/dut/inspire'
1
468
And param service = 'CSW'
0
469
And param version = '2.0.2'
0
470
And param request = 'GetRecordById'
0
471
And param id = '664862cb-d426-4ee4-97ac-14c12b903b54'
1
472
And param elementsetname = 'full'
0
473
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
474
When method get
283
475
Then status 200
0
476
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '664862cb-d426-4ee4-97ac-14c12b903b54'
1
477
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
478
* def title = get response //citation/CI_Citation/title/CharacterString
1
479
* def email = get response //electronicMailAddress/CharacterString
1
480
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
481
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
482
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
483
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
484
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
485
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
486
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
487
* print connectUrl
0
15:15:12.034 [print] https://www.broinspireservices.nl/wms/oshhgqm-a-v1.0?request=GetCapabilities
488
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
489
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
490
* print organisationpath
0
15:15:12.035 [print] TNO Geologische Dienst Nederland
491
* print operateson
0
15:15:12.036 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=6050578f-0010-4bfa-b013-c8617b80ba62&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
492
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
493
* eval db.writeln('"664862cb-d426-4ee4-97ac-14c12b903b54","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
494
* eval db.writeln('"664862cb-d426-4ee4-97ac-14c12b903b54","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.14:18]c99b1291-c51f-49c8-902d-5bd4148cbbde
ms: 358
>>
Background:
495
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
496
* def mystorage = Java.type('storage.DataStorage')
1
497
* def db = new mystorage
1
498
* def db = db.setfeature(karate.info.featureFileName)
1
499
* def separator = java.lang.System.getProperty("file.separator")
1
500
* def outputpath = db.outputpath()
1
501
* eval db.ensureDirectory(outputpath)
1
502
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
503
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
504
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
505
Given path 'geonetwork/srv/dut/inspire'
1
506
And param service = 'CSW'
0
507
And param version = '2.0.2'
0
508
And param request = 'GetRecordById'
0
509
And param id = 'c99b1291-c51f-49c8-902d-5bd4148cbbde'
1
510
And param elementsetname = 'full'
0
511
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
512
When method get
345
513
Then status 200
0
514
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c99b1291-c51f-49c8-902d-5bd4148cbbde'
1
515
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
516
* def title = get response //citation/CI_Citation/title/CharacterString
0
517
* def email = get response //electronicMailAddress/CharacterString
0
518
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
519
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
520
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
521
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
522
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
523
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
524
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
525
* print connectUrl
0
15:15:12.180 [print] http://services.inspire-provincies.nl/HabitatsAndBiotopes/services/view_HB?request=GetCapabilities
526
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
527
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
528
* print organisationpath
0
15:15:12.181 [print] Interprovinciaal Overleg
529
* print operateson
0
15:15:12.182 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88e2a6fa-b296-4ff4-bc30-fb87e2c1627e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
530
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
531
* eval db.writeln('"c99b1291-c51f-49c8-902d-5bd4148cbbde","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
532
* eval db.writeln('"c99b1291-c51f-49c8-902d-5bd4148cbbde","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.15:18]ebd6ea46-ee7b-432f-83c4-058c889a790d
ms: 375
>>
Background:
533
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
534
* def mystorage = Java.type('storage.DataStorage')
1
535
* def db = new mystorage
1
536
* def db = db.setfeature(karate.info.featureFileName)
1
537
* def separator = java.lang.System.getProperty("file.separator")
1
538
* def outputpath = db.outputpath()
1
539
* eval db.ensureDirectory(outputpath)
1
540
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
541
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
542
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
543
Given path 'geonetwork/srv/dut/inspire'
0
544
And param service = 'CSW'
0
545
And param version = '2.0.2'
0
546
And param request = 'GetRecordById'
0
547
And param id = 'ebd6ea46-ee7b-432f-83c4-058c889a790d'
1
548
And param elementsetname = 'full'
0
549
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
550
When method get
359
551
Then status 200
0
552
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ebd6ea46-ee7b-432f-83c4-058c889a790d'
1
553
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
554
* def title = get response //citation/CI_Citation/title/CharacterString
1
555
* def email = get response //electronicMailAddress/CharacterString
1
556
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
557
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
558
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
559
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
560
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
561
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
562
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
563
* print connectUrl
0
15:15:12.218 [print] http://services.inspire-provincies.nl/EnvironmentalMonitoringFacilities/services/download_EF?request=GetCapabilities
564
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
2
565
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
566
* print organisationpath
0
15:15:12.221 [print] Interprovinciaal Overleg
567
* print operateson
0
15:15:12.221 [print] [
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=c829abeb-bfac-4224-8332-e7a9a89e692e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification",
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=fe45c540-e37d-11e4-b571-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification"
]
568
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
569
* eval db.writeln('"ebd6ea46-ee7b-432f-83c4-058c889a790d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
4
570
* eval db.writeln('"ebd6ea46-ee7b-432f-83c4-058c889a790d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.16:18]ea4cb6a2-f637-413a-91cc-d58473c2f138
ms: 349
>>
Background:
571
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
572
* def mystorage = Java.type('storage.DataStorage')
1
573
* def db = new mystorage
1
574
* def db = db.setfeature(karate.info.featureFileName)
1
575
* def separator = java.lang.System.getProperty("file.separator")
1
576
* def outputpath = db.outputpath()
1
577
* eval db.ensureDirectory(outputpath)
1
578
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
579
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
580
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
581
Given path 'geonetwork/srv/dut/inspire'
1
582
And param service = 'CSW'
0
583
And param version = '2.0.2'
0
584
And param request = 'GetRecordById'
0
585
And param id = 'ea4cb6a2-f637-413a-91cc-d58473c2f138'
1
586
And param elementsetname = 'full'
0
587
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
588
When method get
335
589
Then status 200
0
590
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ea4cb6a2-f637-413a-91cc-d58473c2f138'
1
591
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
592
* def title = get response //citation/CI_Citation/title/CharacterString
0
593
* def email = get response //electronicMailAddress/CharacterString
0
594
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
595
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
596
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
597
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
598
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
599
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
600
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
601
* print connectUrl
0
15:15:12.254 [print] http://services.inspire-provincies.nl/EnvironmentalMonitoringFacilities/services/view_EF?request=GetCapabilities
602
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
603
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
604
* print organisationpath
0
15:15:12.255 [print] Interprovinciaal Overleg
605
* print operateson
0
15:15:12.255 [print] [
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=c829abeb-bfac-4224-8332-e7a9a89e692e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification",
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=fe45c540-e37d-11e4-b571-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification"
]
606
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
607
* eval db.writeln('"ea4cb6a2-f637-413a-91cc-d58473c2f138","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
4
608
* eval db.writeln('"ea4cb6a2-f637-413a-91cc-d58473c2f138","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.17:18]cd370f58-0e54-48d6-b83b-ccd332bfb7c7
ms: 297
>>
Background:
609
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
610
* def mystorage = Java.type('storage.DataStorage')
1
611
* def db = new mystorage
1
612
* def db = db.setfeature(karate.info.featureFileName)
1
613
* def separator = java.lang.System.getProperty("file.separator")
1
614
* def outputpath = db.outputpath()
1
615
* eval db.ensureDirectory(outputpath)
1
616
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
617
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
618
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
619
Given path 'geonetwork/srv/dut/inspire'
1
620
And param service = 'CSW'
0
621
And param version = '2.0.2'
0
622
And param request = 'GetRecordById'
0
623
And param id = 'cd370f58-0e54-48d6-b83b-ccd332bfb7c7'
1
624
And param elementsetname = 'full'
0
625
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
626
When method get
282
627
Then status 200
0
628
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cd370f58-0e54-48d6-b83b-ccd332bfb7c7'
1
629
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
630
* def title = get response //citation/CI_Citation/title/CharacterString
1
631
* def email = get response //electronicMailAddress/CharacterString
1
632
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
633
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
634
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
635
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
636
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
2
637
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
638
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
639
* print connectUrl
1
15:15:12.333 [print] https://inspire.rivm.nl/geoserver/wms?request=GetCapabilities
640
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
641
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
642
* print organisationpath
0
15:15:12.334 [print] Rijksinstituut voor Volksgezondheid en Milieu
643
* print operateson
0
15:15:12.334 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ad6caa40-89ab-47e3-85ab-3f8e32024a71#MD_DataIdentification
644
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
645
* eval db.writeln('"cd370f58-0e54-48d6-b83b-ccd332bfb7c7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
646
* eval db.writeln('"cd370f58-0e54-48d6-b83b-ccd332bfb7c7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.18:18]tbjk534p-wubf-crbp-cj25-d41611m0gfim
ms: 334
>>
Background:
647
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
648
* def mystorage = Java.type('storage.DataStorage')
1
649
* def db = new mystorage
1
650
* def db = db.setfeature(karate.info.featureFileName)
1
651
* def separator = java.lang.System.getProperty("file.separator")
1
652
* def outputpath = db.outputpath()
1
653
* eval db.ensureDirectory(outputpath)
1
654
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
655
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
656
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
657
Given path 'geonetwork/srv/dut/inspire'
1
658
And param service = 'CSW'
0
659
And param version = '2.0.2'
0
660
And param request = 'GetRecordById'
0
661
And param id = 'tbjk534p-wubf-crbp-cj25-d41611m0gfim'
1
662
And param elementsetname = 'full'
0
663
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
664
When method get
316
665
Then status 200
0
666
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'tbjk534p-wubf-crbp-cj25-d41611m0gfim'
1
667
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
668
* def title = get response //citation/CI_Citation/title/CharacterString
1
669
* def email = get response //electronicMailAddress/CharacterString
1
670
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
671
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
672
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
673
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
674
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
675
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
676
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
677
* print connectUrl
0
15:15:12.514 [print] https://marineprojects.openearth.nl/geoserver/ihm_krm/wms?service=WMS&version=1.3.0&request=GetCapabilities
678
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
679
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
680
* print organisationpath
0
15:15:12.516 [print] Rijkswaterstaat
681
* print operateson
0
15:15:12.516 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&ID=tbjk534p-wubf-crbp-cj25-d4161160gfim&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
682
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
683
* eval db.writeln('"tbjk534p-wubf-crbp-cj25-d41611m0gfim","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
684
* eval db.writeln('"tbjk534p-wubf-crbp-cj25-d41611m0gfim","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.19:18]777f41ee-8269-4bbc-b0e4-f889c62be099
ms: 319
>>
Background:
685
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
686
* def mystorage = Java.type('storage.DataStorage')
1
687
* def db = new mystorage
1
688
* def db = db.setfeature(karate.info.featureFileName)
1
689
* def separator = java.lang.System.getProperty("file.separator")
1
690
* def outputpath = db.outputpath()
1
691
* eval db.ensureDirectory(outputpath)
1
692
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
693
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
694
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
695
Given path 'geonetwork/srv/dut/inspire'
1
696
And param service = 'CSW'
0
697
And param version = '2.0.2'
0
698
And param request = 'GetRecordById'
0
699
And param id = '777f41ee-8269-4bbc-b0e4-f889c62be099'
1
700
And param elementsetname = 'full'
0
701
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
702
When method get
308
703
Then status 200
0
704
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '777f41ee-8269-4bbc-b0e4-f889c62be099'
1
705
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
706
* def title = get response //citation/CI_Citation/title/CharacterString
0
707
* def email = get response //electronicMailAddress/CharacterString
0
708
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
709
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
710
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
711
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
712
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
713
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
714
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
715
* print connectUrl
0
15:15:12.543 [print] https://inspire.rivm.nl/geoserver/wms?request=GetCapabilities
716
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
717
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
718
* print organisationpath
0
15:15:12.544 [print] Rijksinstituut voor Volksgezondheid en Milieu
719
* print operateson
0
15:15:12.544 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=50a2c5e6-c8e7-425d-854e-26f578196bc9#MD_DataIdentification
720
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
721
* eval db.writeln('"777f41ee-8269-4bbc-b0e4-f889c62be099","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
722
* eval db.writeln('"777f41ee-8269-4bbc-b0e4-f889c62be099","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.20:18]539ec652-482d-4806-a830-0458cf8be477
ms: 308
>>
Background:
723
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
724
* def mystorage = Java.type('storage.DataStorage')
1
725
* def db = new mystorage
1
726
* def db = db.setfeature(karate.info.featureFileName)
1
727
* def separator = java.lang.System.getProperty("file.separator")
1
728
* def outputpath = db.outputpath()
1
729
* eval db.ensureDirectory(outputpath)
1
730
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
731
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
732
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
733
Given path 'geonetwork/srv/dut/inspire'
1
734
And param service = 'CSW'
0
735
And param version = '2.0.2'
0
736
And param request = 'GetRecordById'
0
737
And param id = '539ec652-482d-4806-a830-0458cf8be477'
1
738
And param elementsetname = 'full'
0
739
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
740
When method get
297
741
Then status 200
0
742
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '539ec652-482d-4806-a830-0458cf8be477'
0
743
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
744
* def title = get response //citation/CI_Citation/title/CharacterString
0
745
* def email = get response //electronicMailAddress/CharacterString
0
746
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
747
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
748
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
749
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
750
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
751
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
752
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
753
* print connectUrl
0
15:15:12.565 [print] http://data.waterkwaliteitsportaal.nl/inspire/vs/EF
754
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
755
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
756
* print organisationpath
0
15:15:12.566 [print] Informatiehuis Water
757
* print operateson
0
15:15:12.566 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=891ddc2d-8949-4a45-be96-c65b87c41f13&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full
758
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
759
* eval db.writeln('"539ec652-482d-4806-a830-0458cf8be477","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
760
* eval db.writeln('"539ec652-482d-4806-a830-0458cf8be477","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.21:18]7b4a0b26-5885-45cd-a99d-27887cff68e5
ms: 284
>>
Background:
761
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
762
* def mystorage = Java.type('storage.DataStorage')
1
763
* def db = new mystorage
1
764
* def db = db.setfeature(karate.info.featureFileName)
1
765
* def separator = java.lang.System.getProperty("file.separator")
1
766
* def outputpath = db.outputpath()
1
767
* eval db.ensureDirectory(outputpath)
1
768
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
769
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
770
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
771
Given path 'geonetwork/srv/dut/inspire'
1
772
And param service = 'CSW'
0
773
And param version = '2.0.2'
0
774
And param request = 'GetRecordById'
0
775
And param id = '7b4a0b26-5885-45cd-a99d-27887cff68e5'
1
776
And param elementsetname = 'full'
0
777
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
778
When method get
273
779
Then status 200
0
780
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7b4a0b26-5885-45cd-a99d-27887cff68e5'
1
781
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
782
* def title = get response //citation/CI_Citation/title/CharacterString
0
783
* def email = get response //electronicMailAddress/CharacterString
0
784
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
785
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
786
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
787
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
788
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
789
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
790
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
791
* print connectUrl
0
15:15:12.617 [print] https://www.broinspireservices.nl/wms/ossosgm-a-v1.0?request=GetCapabilities
792
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
793
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
794
* print organisationpath
0
15:15:12.618 [print] TNO Geologische Dienst Nederland
795
* print operateson
0
15:15:12.618 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=a7fb2234-f7b4-4a03-b282-f10947f42fb1&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
796
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
797
* eval db.writeln('"7b4a0b26-5885-45cd-a99d-27887cff68e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
798
* eval db.writeln('"7b4a0b26-5885-45cd-a99d-27887cff68e5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.22:18]a6098c24-4caf-4528-954c-672b9ec6cf78
ms: 342
>>
Background:
799
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
800
* def mystorage = Java.type('storage.DataStorage')
1
801
* def db = new mystorage
1
802
* def db = db.setfeature(karate.info.featureFileName)
1
803
* def separator = java.lang.System.getProperty("file.separator")
1
804
* def outputpath = db.outputpath()
1
805
* eval db.ensureDirectory(outputpath)
1
806
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
807
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
808
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
809
Given path 'geonetwork/srv/dut/inspire'
1
810
And param service = 'CSW'
0
811
And param version = '2.0.2'
0
812
And param request = 'GetRecordById'
0
813
And param id = 'a6098c24-4caf-4528-954c-672b9ec6cf78'
1
814
And param elementsetname = 'full'
0
815
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
816
When method get
329
817
Then status 200
0
818
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a6098c24-4caf-4528-954c-672b9ec6cf78'
1
819
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
820
* def title = get response //citation/CI_Citation/title/CharacterString
1
821
* def email = get response //electronicMailAddress/CharacterString
0
822
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
823
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
824
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
825
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
826
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
827
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
828
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
829
* print connectUrl
0
15:15:12.858 [print] https://inspire.rivm.nl/geoserver/wms?request=GetCapabilities
830
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
831
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
832
* print organisationpath
0
15:15:12.859 [print] Rijksinstituut voor Volksgezondheid en Milieu
833
* print operateson
0
15:15:12.859 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=32a21114-8694-40ce-ab76-9dcd885c7861#MD_DataIdentification
834
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
835
* eval db.writeln('"a6098c24-4caf-4528-954c-672b9ec6cf78","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
836
* eval db.writeln('"a6098c24-4caf-4528-954c-672b9ec6cf78","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.23:18]97b49056-8ace-426c-ae3e-bf7efe4c000f
ms: 342
>>
Background:
837
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
838
* def mystorage = Java.type('storage.DataStorage')
1
839
* def db = new mystorage
1
840
* def db = db.setfeature(karate.info.featureFileName)
1
841
* def separator = java.lang.System.getProperty("file.separator")
1
842
* def outputpath = db.outputpath()
1
843
* eval db.ensureDirectory(outputpath)
1
844
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
845
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
846
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
847
Given path 'geonetwork/srv/dut/inspire'
0
848
And param service = 'CSW'
0
849
And param version = '2.0.2'
0
850
And param request = 'GetRecordById'
0
851
And param id = '97b49056-8ace-426c-ae3e-bf7efe4c000f'
1
852
And param elementsetname = 'full'
0
853
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
854
When method get
332
855
Then status 200
0
856
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '97b49056-8ace-426c-ae3e-bf7efe4c000f'
0
857
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
858
* def title = get response //citation/CI_Citation/title/CharacterString
0
859
* def email = get response //electronicMailAddress/CharacterString
0
860
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
861
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
862
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
863
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
864
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
865
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
866
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
867
* print connectUrl
0
15:15:12.886 [print] https://inspire.caris.nl/geoserver/auwms/wms?request=GetCapabilities
868
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
869
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
870
* print organisationpath
0
15:15:12.887 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
871
* print operateson
0
15:15:12.887 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=1249746f-c2a6-4639-98f2-251676b3528e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
872
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
873
* eval db.writeln('"97b49056-8ace-426c-ae3e-bf7efe4c000f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
874
* eval db.writeln('"97b49056-8ace-426c-ae3e-bf7efe4c000f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.24:18]f0eb64f9-8888-42e1-9550-bf91c32da4bc
ms: 357
>>
Background:
875
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
876
* def mystorage = Java.type('storage.DataStorage')
1
877
* def db = new mystorage
1
878
* def db = db.setfeature(karate.info.featureFileName)
1
879
* def separator = java.lang.System.getProperty("file.separator")
1
880
* def outputpath = db.outputpath()
1
881
* eval db.ensureDirectory(outputpath)
1
882
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
883
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
884
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
885
Given path 'geonetwork/srv/dut/inspire'
0
886
And param service = 'CSW'
0
887
And param version = '2.0.2'
0
888
And param request = 'GetRecordById'
0
889
And param id = 'f0eb64f9-8888-42e1-9550-bf91c32da4bc'
1
890
And param elementsetname = 'full'
0
891
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
892
When method get
344
893
Then status 200
0
894
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f0eb64f9-8888-42e1-9550-bf91c32da4bc'
1
895
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
896
* def title = get response //citation/CI_Citation/title/CharacterString
1
897
* def email = get response //electronicMailAddress/CharacterString
1
898
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
899
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
900
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
901
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
902
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
903
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
904
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
905
* print connectUrl
0
15:15:12.924 [print] https://inspire.rivm.nl/geoserver/wms?request=GetCapabilities
906
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
907
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
908
* print organisationpath
0
15:15:12.925 [print] Rijksinstituut voor Volksgezondheid en Milieu
909
* print operateson
0
15:15:12.925 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e1e99000-ec47-4e9f-84a5-adad24fef0dc#MD_DataIdentification
910
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
911
* eval db.writeln('"f0eb64f9-8888-42e1-9550-bf91c32da4bc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
912
* eval db.writeln('"f0eb64f9-8888-42e1-9550-bf91c32da4bc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.25:18]a12ae6ca-b755-4707-884f-95c0d66f431a
ms: 373
>>
Background:
913
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
914
* def mystorage = Java.type('storage.DataStorage')
1
915
* def db = new mystorage
1
916
* def db = db.setfeature(karate.info.featureFileName)
1
917
* def separator = java.lang.System.getProperty("file.separator")
1
918
* def outputpath = db.outputpath()
1
919
* eval db.ensureDirectory(outputpath)
1
920
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
921
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
922
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
923
Given path 'geonetwork/srv/dut/inspire'
1
924
And param service = 'CSW'
0
925
And param version = '2.0.2'
0
926
And param request = 'GetRecordById'
0
927
And param id = 'a12ae6ca-b755-4707-884f-95c0d66f431a'
1
928
And param elementsetname = 'full'
0
929
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
930
When method get
357
931
Then status 200
0
932
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a12ae6ca-b755-4707-884f-95c0d66f431a'
1
933
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
934
* def title = get response //citation/CI_Citation/title/CharacterString
1
935
* def email = get response //electronicMailAddress/CharacterString
1
936
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
937
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
938
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
939
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
940
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
941
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
942
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
943
* print connectUrl
0
15:15:12.989 [print] https://inspire.caris.nl/gs5/MarineRegion/wms?service=WMS&version=1.3.0&request=GetCapabilities
944
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
2
945
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
946
* print organisationpath
0
15:15:12.992 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
947
* print operateson
0
15:15:12.992 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f44dac86-2228-412f-8355-e56446ca9933#MD_DataIdentification
948
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
949
* eval db.writeln('"a12ae6ca-b755-4707-884f-95c0d66f431a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
950
* eval db.writeln('"a12ae6ca-b755-4707-884f-95c0d66f431a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.26:18]c0a8e0ee-8639-44d4-be07-d7edf9c276c7
ms: 299
>>
Background:
951
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
952
* def mystorage = Java.type('storage.DataStorage')
1
953
* def db = new mystorage
1
954
* def db = db.setfeature(karate.info.featureFileName)
1
955
* def separator = java.lang.System.getProperty("file.separator")
1
956
* def outputpath = db.outputpath()
1
957
* eval db.ensureDirectory(outputpath)
1
958
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
959
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
960
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
961
Given path 'geonetwork/srv/dut/inspire'
0
962
And param service = 'CSW'
0
963
And param version = '2.0.2'
0
964
And param request = 'GetRecordById'
0
965
And param id = 'c0a8e0ee-8639-44d4-be07-d7edf9c276c7'
0
966
And param elementsetname = 'full'
0
967
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
968
When method get
285
969
Then status 200
0
970
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c0a8e0ee-8639-44d4-be07-d7edf9c276c7'
1
971
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
972
* def title = get response //citation/CI_Citation/title/CharacterString
1
973
* def email = get response //electronicMailAddress/CharacterString
1
974
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
975
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
976
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
977
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
978
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
979
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
980
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
981
* print connectUrl
0
15:15:13.157 [print] https://geodata.nationaalgeoregister.nl/inspire/tn/wfs?request=GetCapabilities
982
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
983
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
984
* print organisationpath
0
15:15:13.160 [print] Beheer PDOK
985
* print operateson
0
15:15:13.160 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=14657c9b-91e4-4355-8563-2911ad0e78e4#MD_DataIdentification
986
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
987
* eval db.writeln('"c0a8e0ee-8639-44d4-be07-d7edf9c276c7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
988
* eval db.writeln('"c0a8e0ee-8639-44d4-be07-d7edf9c276c7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.27:18]ce963e61-779f-470f-a99d-48d9796e5ba3
ms: 315
>>
Background:
989
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
990
* def mystorage = Java.type('storage.DataStorage')
1
991
* def db = new mystorage
1
992
* def db = db.setfeature(karate.info.featureFileName)
1
993
* def separator = java.lang.System.getProperty("file.separator")
1
994
* def outputpath = db.outputpath()
1
995
* eval db.ensureDirectory(outputpath)
1
996
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
997
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
998
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
999
Given path 'geonetwork/srv/dut/inspire'
1
1000
And param service = 'CSW'
0
1001
And param version = '2.0.2'
0
1002
And param request = 'GetRecordById'
0
1003
And param id = 'ce963e61-779f-470f-a99d-48d9796e5ba3'
1
1004
And param elementsetname = 'full'
0
1005
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1006
When method get
303
1007
Then status 200
0
1008
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ce963e61-779f-470f-a99d-48d9796e5ba3'
1
1009
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1010
* def title = get response //citation/CI_Citation/title/CharacterString
0
1011
* def email = get response //electronicMailAddress/CharacterString
0
1012
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1013
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1014
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1015
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1016
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1017
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1018
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
1019
* print connectUrl
0
15:15:13.201 [print] https://geodata.nationaalgeoregister.nl/inspire/gn/wms?request=GetCapabilities
1020
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1021
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1022
* print organisationpath
0
15:15:13.202 [print] Beheer PDOK
1023
* print operateson
0
15:15:13.202 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=1a40eb6f-4f33-4e15-a0b1-2d350ad2636e#MD_DataIdentification
1024
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1025
* eval db.writeln('"ce963e61-779f-470f-a99d-48d9796e5ba3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1026
* eval db.writeln('"ce963e61-779f-470f-a99d-48d9796e5ba3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.28:18]315a465b-e95d-46ea-9d97-8bbee81844cc
ms: 331
>>
Background:
1027
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
1028
* def mystorage = Java.type('storage.DataStorage')
1
1029
* def db = new mystorage
1
1030
* def db = db.setfeature(karate.info.featureFileName)
1
1031
* def separator = java.lang.System.getProperty("file.separator")
1
1032
* def outputpath = db.outputpath()
1
1033
* eval db.ensureDirectory(outputpath)
1
1034
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1035
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1036
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1037
Given path 'geonetwork/srv/dut/inspire'
1
1038
And param service = 'CSW'
0
1039
And param version = '2.0.2'
0
1040
And param request = 'GetRecordById'
0
1041
And param id = '315a465b-e95d-46ea-9d97-8bbee81844cc'
1
1042
And param elementsetname = 'full'
0
1043
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1044
When method get
289
1045
Then status 200
0
1046
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '315a465b-e95d-46ea-9d97-8bbee81844cc'
0
1047
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1048
* def title = get response //citation/CI_Citation/title/CharacterString
0
1049
* def email = get response //electronicMailAddress/CharacterString
31
1050
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1051
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1052
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1053
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1054
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
1055
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1056
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
1057
* print connectUrl
0
15:15:13.256 [print] https://geodata.nationaalgeoregister.nl/inspire/tn/wms?request=GetCapabilities
1058
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1059
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1060
* print organisationpath
0
15:15:13.257 [print] Beheer PDOK
1061
* print operateson
0
15:15:13.257 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=14657c9b-91e4-4355-8563-2911ad0e78e4#MD_DataIdentification
1062
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1063
* eval db.writeln('"315a465b-e95d-46ea-9d97-8bbee81844cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1064
* eval db.writeln('"315a465b-e95d-46ea-9d97-8bbee81844cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.29:18]598c4109-21d2-4a6c-b083-9975a6736853
ms: 366
>>
Background:
1065
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
1066
* def mystorage = Java.type('storage.DataStorage')
1
1067
* def db = new mystorage
1
1068
* def db = db.setfeature(karate.info.featureFileName)
1
1069
* def separator = java.lang.System.getProperty("file.separator")
1
1070
* def outputpath = db.outputpath()
1
1071
* eval db.ensureDirectory(outputpath)
1
1072
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1073
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1074
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1075
Given path 'geonetwork/srv/dut/inspire'
0
1076
And param service = 'CSW'
0
1077
And param version = '2.0.2'
0
1078
And param request = 'GetRecordById'
0
1079
And param id = '598c4109-21d2-4a6c-b083-9975a6736853'
1
1080
And param elementsetname = 'full'
0
1081
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1082
When method get
291
1083
Then status 200
0
1084
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '598c4109-21d2-4a6c-b083-9975a6736853'
1
1085
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1086
* def title = get response //citation/CI_Citation/title/CharacterString
1
1087
* def email = get response //electronicMailAddress/CharacterString
0
1088
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1089
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1090
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1091
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1092
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1093
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1094
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
1095
* print connectUrl
1
15:15:13.296 [print] https://geodata.nationaalgeoregister.nl/weggeg/wms?request=getcapabilities&service=wms
1096
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
1097
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1098
* print organisationpath
0
15:15:13.298 [print] Beheer PDOK
1099
* print operateson
1
15:15:13.299 [print] [
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=27df6b33-194c-46d6-ac94-257c306c91f2#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=abaf1e22-55aa-4a11-a855-7ac963e4a82b#MD_DataIdentification"
]
1100
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1101
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736853","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
50
1102
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736853","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
15
Scenario Outline: [1.30:18]e264c1e4-90fe-4968-bbf2-7019f6095348
ms: 298
>>
Background:
1103
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
1104
* def mystorage = Java.type('storage.DataStorage')
1
1105
* def db = new mystorage
1
1106
* def db = db.setfeature(karate.info.featureFileName)
1
1107
* def separator = java.lang.System.getProperty("file.separator")
1
1108
* def outputpath = db.outputpath()
1
1109
* eval db.ensureDirectory(outputpath)
1
1110
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1111
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1112
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1113
Given path 'geonetwork/srv/dut/inspire'
1
1114
And param service = 'CSW'
0
1115
And param version = '2.0.2'
0
1116
And param request = 'GetRecordById'
0
1117
And param id = 'e264c1e4-90fe-4968-bbf2-7019f6095348'
1
1118
And param elementsetname = 'full'
0
1119
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1120
When method get
278
1121
Then status 200
0
1122
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e264c1e4-90fe-4968-bbf2-7019f6095348'
1
1123
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1124
* def title = get response //citation/CI_Citation/title/CharacterString
1
1125
* def email = get response //electronicMailAddress/CharacterString
1
1126
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1127
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1128
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1129
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
1130
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
1131
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1132
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
1133
* print connectUrl
0
15:15:13.453 [print] https://geodata.nationaalgeoregister.nl/ienw/geluidskaartspoorwegenetmaal/v1/wfs?request=GetCapabilities&service=WFS
1134
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1135
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1136
* print organisationpath
0
15:15:13.454 [print] Beheer PDOK
1137
* print operateson
1
15:15:13.455 [print] [
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c3c004ad-5387-4b00-a225-9afbcaa5d31b#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c3c004ad-5387-4b00-a225-9afbcaa5d31b#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c3c004ad-5387-4b00-a225-9afbcaa5d31b#MD_DataIdentification"
]
1138
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1139
* eval db.writeln('"e264c1e4-90fe-4968-bbf2-7019f6095348","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1140
* eval db.writeln('"e264c1e4-90fe-4968-bbf2-7019f6095348","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.31:18]86cb5bcc-a199-43e2-9e03-2d0fe8bdfa3f
ms: 328
>>
Background:
1141
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
1142
* def mystorage = Java.type('storage.DataStorage')
1
1143
* def db = new mystorage
1
1144
* def db = db.setfeature(karate.info.featureFileName)
1
1145
* def separator = java.lang.System.getProperty("file.separator")
1
1146
* def outputpath = db.outputpath()
1
1147
* eval db.ensureDirectory(outputpath)
1
1148
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1149
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1150
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1151
Given path 'geonetwork/srv/dut/inspire'
0
1152
And param service = 'CSW'
0
1153
And param version = '2.0.2'
0
1154
And param request = 'GetRecordById'
0
1155
And param id = '86cb5bcc-a199-43e2-9e03-2d0fe8bdfa3f'
1
1156
And param elementsetname = 'full'
0
1157
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1158
When method get
310
1159
Then status 200
0
1160
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '86cb5bcc-a199-43e2-9e03-2d0fe8bdfa3f'
1
1161
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1162
* def title = get response //citation/CI_Citation/title/CharacterString
1
1163
* def email = get response //electronicMailAddress/CharacterString
1
1164
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1165
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1166
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1167
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
1168
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
1169
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
1170
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
1171
* print connectUrl
0
15:15:13.527 [print] https://geodata.nationaalgeoregister.nl/inspire/tn-ra/wfs?request=GetCapabilities&service=WFS
1172
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
1173
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1174
* print organisationpath
0
15:15:13.529 [print] Beheer PDOK
1175
* print operateson
0
15:15:13.529 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3a7dd0a6-d130-4c4c-b0ba-24365cf036e2#MD_DataIdentification
1176
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1177
* eval db.writeln('"86cb5bcc-a199-43e2-9e03-2d0fe8bdfa3f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1178
* eval db.writeln('"86cb5bcc-a199-43e2-9e03-2d0fe8bdfa3f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.32:18]97a7d966-7261-49d4-bc08-c4900981f092
ms: 296
>>
Background:
1179
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
1180
* def mystorage = Java.type('storage.DataStorage')
1
1181
* def db = new mystorage
1
1182
* def db = db.setfeature(karate.info.featureFileName)
1
1183
* def separator = java.lang.System.getProperty("file.separator")
1
1184
* def outputpath = db.outputpath()
1
1185
* eval db.ensureDirectory(outputpath)
1
1186
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1187
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1188
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1189
Given path 'geonetwork/srv/dut/inspire'
0
1190
And param service = 'CSW'
0
1191
And param version = '2.0.2'
0
1192
And param request = 'GetRecordById'
0
1193
And param id = '97a7d966-7261-49d4-bc08-c4900981f092'
1
1194
And param elementsetname = 'full'
0
1195
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1196
When method get
283
1197
Then status 200
0
1198
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '97a7d966-7261-49d4-bc08-c4900981f092'
1
1199
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1200
* def title = get response //citation/CI_Citation/title/CharacterString
1
1201
* def email = get response //electronicMailAddress/CharacterString
1
1202
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1203
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1204
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1205
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1206
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1207
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1208
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
1209
* print connectUrl
0
15:15:13.552 [print] https://geodata.nationaalgeoregister.nl/inspire/tn-a/wfs?request=GetCapabilities
1210
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1211
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1212
* print organisationpath
0
15:15:13.553 [print] Beheer PDOK
1213
* print operateson
0
15:15:13.553 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=31de946d-85d4-4c93-bb97-e25f4ef1401a#MD_DataIdentification
1214
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1215
* eval db.writeln('"97a7d966-7261-49d4-bc08-c4900981f092","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1216
* eval db.writeln('"97a7d966-7261-49d4-bc08-c4900981f092","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.33:18]65f9628b-0a58-4348-8fff-c2d02788acdb
ms: 280
>>
Background:
1217
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
1218
* def mystorage = Java.type('storage.DataStorage')
1
1219
* def db = new mystorage
1
1220
* def db = db.setfeature(karate.info.featureFileName)
1
1221
* def separator = java.lang.System.getProperty("file.separator")
1
1222
* def outputpath = db.outputpath()
1
1223
* eval db.ensureDirectory(outputpath)
1
1224
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1225
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1226
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1227
Given path 'geonetwork/srv/dut/inspire'
1
1228
And param service = 'CSW'
0
1229
And param version = '2.0.2'
0
1230
And param request = 'GetRecordById'
0
1231
And param id = '65f9628b-0a58-4348-8fff-c2d02788acdb'
1
1232
And param elementsetname = 'full'
0
1233
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1234
When method get
266
1235
Then status 200
0
1236
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '65f9628b-0a58-4348-8fff-c2d02788acdb'
1
1237
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1238
* def title = get response //citation/CI_Citation/title/CharacterString
1
1239
* def email = get response //electronicMailAddress/CharacterString
1
1240
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1241
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1242
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1243
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1244
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1245
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1246
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
1247
* print connectUrl
0
15:15:13.638 [print] https://geodata.nationaalgeoregister.nl/inspire/tn-ra/wms?request=GetCapabilities
1248
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1249
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1250
* print organisationpath
1
15:15:13.640 [print] Beheer PDOK
1251
* print operateson
0
15:15:13.641 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3a7dd0a6-d130-4c4c-b0ba-24365cf036e2#MD_DataIdentification
1252
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1253
* eval db.writeln('"65f9628b-0a58-4348-8fff-c2d02788acdb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1254
* eval db.writeln('"65f9628b-0a58-4348-8fff-c2d02788acdb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.34:18]09588464-071b-47be-8cbe-d15f2e1f9634
ms: 291
>>
Background:
1255
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
1256
* def mystorage = Java.type('storage.DataStorage')
1
1257
* def db = new mystorage
1
1258
* def db = db.setfeature(karate.info.featureFileName)
1
1259
* def separator = java.lang.System.getProperty("file.separator")
1
1260
* def outputpath = db.outputpath()
1
1261
* eval db.ensureDirectory(outputpath)
1
1262
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1263
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1264
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1265
Given path 'geonetwork/srv/dut/inspire'
1
1266
And param service = 'CSW'
0
1267
And param version = '2.0.2'
0
1268
And param request = 'GetRecordById'
0
1269
And param id = '09588464-071b-47be-8cbe-d15f2e1f9634'
1
1270
And param elementsetname = 'full'
0
1271
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1272
When method get
280
1273
Then status 200
0
1274
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '09588464-071b-47be-8cbe-d15f2e1f9634'
1
1275
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1276
* def title = get response //citation/CI_Citation/title/CharacterString
0
1277
* def email = get response //electronicMailAddress/CharacterString
0
1278
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1279
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1280
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1281
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1282
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1283
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1284
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
1285
* print connectUrl
0
15:15:13.750 [print] https://geodata.nationaalgeoregister.nl/inspire/tn-c/wms?request=GetCapabilities
1286
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1287
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1288
* print organisationpath
0
15:15:13.751 [print] Beheer PDOK
1289
* print operateson
0
15:15:13.751 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6c06740d-058f-4a12-bb3f-bf68efd03d09#MD_DataIdentification
1290
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1291
* eval db.writeln('"09588464-071b-47be-8cbe-d15f2e1f9634","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1292
* eval db.writeln('"09588464-071b-47be-8cbe-d15f2e1f9634","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.35:18]ce4ac3b9-8291-498d-95de-79fe7b6f5259
ms: 303
>>
Background:
1293
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
1294
* def mystorage = Java.type('storage.DataStorage')
1
1295
* def db = new mystorage
1
1296
* def db = db.setfeature(karate.info.featureFileName)
1
1297
* def separator = java.lang.System.getProperty("file.separator")
1
1298
* def outputpath = db.outputpath()
1
1299
* eval db.ensureDirectory(outputpath)
1
1300
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1301
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1302
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1303
Given path 'geonetwork/srv/dut/inspire'
1
1304
And param service = 'CSW'
0
1305
And param version = '2.0.2'
0
1306
And param request = 'GetRecordById'
0
1307
And param id = 'ce4ac3b9-8291-498d-95de-79fe7b6f5259'
1
1308
And param elementsetname = 'full'
0
1309
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1310
When method get
290
1311
Then status 200
0
1312
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ce4ac3b9-8291-498d-95de-79fe7b6f5259'
1
1313
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1314
* def title = get response //citation/CI_Citation/title/CharacterString
1
1315
* def email = get response //electronicMailAddress/CharacterString
1
1316
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1317
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
1318
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1319
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1320
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1321
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1322
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
1323
* print connectUrl
0
15:15:13.834 [print] https://geodata.nationaalgeoregister.nl/inspire/tn-ro/wms?request=GetCapabilities
1324
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1325
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1326
* print organisationpath
0
15:15:13.835 [print] Beheer PDOK
1327
* print operateson
0
15:15:13.835 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=8f45b8ef-0ce8-463a-9059-5efdcecb785c#MD_DataIdentification
1328
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1329
* eval db.writeln('"ce4ac3b9-8291-498d-95de-79fe7b6f5259","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1330
* eval db.writeln('"ce4ac3b9-8291-498d-95de-79fe7b6f5259","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.36:18]a7aeddf2-3b37-4668-9c75-de93d9326276
ms: 308
>>
Background:
1331
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
1332
* def mystorage = Java.type('storage.DataStorage')
1
1333
* def db = new mystorage
1
1334
* def db = db.setfeature(karate.info.featureFileName)
1
1335
* def separator = java.lang.System.getProperty("file.separator")
1
1336
* def outputpath = db.outputpath()
1
1337
* eval db.ensureDirectory(outputpath)
1
1338
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1339
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1340
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1341
Given path 'geonetwork/srv/dut/inspire'
1
1342
And param service = 'CSW'
0
1343
And param version = '2.0.2'
0
1344
And param request = 'GetRecordById'
0
1345
And param id = 'a7aeddf2-3b37-4668-9c75-de93d9326276'
1
1346
And param elementsetname = 'full'
0
1347
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1348
When method get
295
1349
Then status 200
0
1350
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a7aeddf2-3b37-4668-9c75-de93d9326276'
1
1351
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1352
* def title = get response //citation/CI_Citation/title/CharacterString
0
1353
* def email = get response //electronicMailAddress/CharacterString
0
1354
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1355
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1356
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1357
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1358
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1359
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1360
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
1361
* print connectUrl
0
15:15:13.860 [print] https://geodata.nationaalgeoregister.nl/inspire/ps-natura2000/wms?request=Getcapabilities
1362
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1363
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1364
* print organisationpath
0
15:15:13.861 [print] Beheer PDOK
1365
* print operateson
0
15:15:13.861 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=280ed37a-b8d2-4ac5-8567-04d84fad3a41#MD_DataIdentification
1366
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1367
* eval db.writeln('"a7aeddf2-3b37-4668-9c75-de93d9326276","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1368
* eval db.writeln('"a7aeddf2-3b37-4668-9c75-de93d9326276","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.37:18]8abcd2d1-3beb-43e5-a572-2b2da05a0a98
ms: 293
>>
Background:
1369
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
1370
* def mystorage = Java.type('storage.DataStorage')
1
1371
* def db = new mystorage
1
1372
* def db = db.setfeature(karate.info.featureFileName)
1
1373
* def separator = java.lang.System.getProperty("file.separator")
1
1374
* def outputpath = db.outputpath()
1
1375
* eval db.ensureDirectory(outputpath)
1
1376
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1377
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1378
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1379
Given path 'geonetwork/srv/dut/inspire'
0
1380
And param service = 'CSW'
0
1381
And param version = '2.0.2'
0
1382
And param request = 'GetRecordById'
0
1383
And param id = '8abcd2d1-3beb-43e5-a572-2b2da05a0a98'
1
1384
And param elementsetname = 'full'
0
1385
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1386
When method get
277
1387
Then status 200
0
1388
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8abcd2d1-3beb-43e5-a572-2b2da05a0a98'
1
1389
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1390
* def title = get response //citation/CI_Citation/title/CharacterString
1
1391
* def email = get response //electronicMailAddress/CharacterString
1
1392
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1393
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
1394
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1395
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1396
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1397
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1398
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
1399
* print connectUrl
0
15:15:13.933 [print] https://geodata.nationaalgeoregister.nl/nhi/wms?request=GetCapabilities
1400
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1401
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1402
* print organisationpath
0
15:15:13.934 [print] Beheer PDOK
1403
* print operateson
0
15:15:13.935 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=710c381c-ab2d-45d5-a45d-af2eba811e5f#MD_DataIdentification
1404
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1405
* eval db.writeln('"8abcd2d1-3beb-43e5-a572-2b2da05a0a98","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1406
* eval db.writeln('"8abcd2d1-3beb-43e5-a572-2b2da05a0a98","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.38:18]d7d19437-f875-45b3-86cd-2fa3335479ec
ms: 291
>>
Background:
1407
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
1408
* def mystorage = Java.type('storage.DataStorage')
1
1409
* def db = new mystorage
1
1410
* def db = db.setfeature(karate.info.featureFileName)
1
1411
* def separator = java.lang.System.getProperty("file.separator")
1
1412
* def outputpath = db.outputpath()
1
1413
* eval db.ensureDirectory(outputpath)
1
1414
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1415
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1416
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1417
Given path 'geonetwork/srv/dut/inspire'
1
1418
And param service = 'CSW'
0
1419
And param version = '2.0.2'
0
1420
And param request = 'GetRecordById'
0
1421
And param id = 'd7d19437-f875-45b3-86cd-2fa3335479ec'
1
1422
And param elementsetname = 'full'
0
1423
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1424
When method get
276
1425
Then status 200
0
1426
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd7d19437-f875-45b3-86cd-2fa3335479ec'
1
1427
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1428
* def title = get response //citation/CI_Citation/title/CharacterString
1
1429
* def email = get response //electronicMailAddress/CharacterString
1
1430
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1431
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1432
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1433
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
1434
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
1435
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1436
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
1437
* print connectUrl
1
15:15:14.041 [print] https://geodata.nationaalgeoregister.nl/inspire/ps-rvo-np/wfs?request=GetCapabilities
1438
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1439
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1440
* print organisationpath
0
15:15:14.042 [print] Beheer PDOK
1441
* print operateson
0
15:15:14.043 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=247a1d15-0a67-40ce-85be-1403c08f15a8#MD_DataIdentification
1442
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1443
* eval db.writeln('"d7d19437-f875-45b3-86cd-2fa3335479ec","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1444
* eval db.writeln('"d7d19437-f875-45b3-86cd-2fa3335479ec","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.39:18]42f5363b-cea7-4163-a4e9-bc2d1a7a243c
ms: 301
>>
Background:
1445
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
1446
* def mystorage = Java.type('storage.DataStorage')
1
1447
* def db = new mystorage
1
1448
* def db = db.setfeature(karate.info.featureFileName)
1
1449
* def separator = java.lang.System.getProperty("file.separator")
1
1450
* def outputpath = db.outputpath()
1
1451
* eval db.ensureDirectory(outputpath)
1
1452
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1453
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1454
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1455
Given path 'geonetwork/srv/dut/inspire'
0
1456
And param service = 'CSW'
0
1457
And param version = '2.0.2'
0
1458
And param request = 'GetRecordById'
0
1459
And param id = '42f5363b-cea7-4163-a4e9-bc2d1a7a243c'
0
1460
And param elementsetname = 'full'
0
1461
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1462
When method get
289
1463
Then status 200
0
1464
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '42f5363b-cea7-4163-a4e9-bc2d1a7a243c'
1
1465
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1466
* def title = get response //citation/CI_Citation/title/CharacterString
0
1467
* def email = get response //electronicMailAddress/CharacterString
0
1468
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1469
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1470
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1471
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1472
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1473
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1474
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
1475
* print connectUrl
0
15:15:14.136 [print] https://geodata.nationaalgeoregister.nl/ienw/geluidskaartspoorwegennacht/v1/wfs?service=WFS&request=GetCapabilities
1476
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1477
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1478
* print organisationpath
0
15:15:14.137 [print] Beheer PDOK
1479
* print operateson
0
15:15:14.137 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=002d9127-c16d-4b8d-9f5e-102a8c8e36c4#MD_DataIdentification
1480
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1481
* eval db.writeln('"42f5363b-cea7-4163-a4e9-bc2d1a7a243c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1482
* eval db.writeln('"42f5363b-cea7-4163-a4e9-bc2d1a7a243c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.40:18]b4ae5b2c-f557-4a30-bbf2-c2681a544f32
ms: 313
>>
Background:
1483
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
1484
* def mystorage = Java.type('storage.DataStorage')
1
1485
* def db = new mystorage
1
1486
* def db = db.setfeature(karate.info.featureFileName)
1
1487
* def separator = java.lang.System.getProperty("file.separator")
1
1488
* def outputpath = db.outputpath()
1
1489
* eval db.ensureDirectory(outputpath)
1
1490
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1491
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1492
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1493
Given path 'geonetwork/srv/dut/inspire'
0
1494
And param service = 'CSW'
0
1495
And param version = '2.0.2'
0
1496
And param request = 'GetRecordById'
0
1497
And param id = 'b4ae5b2c-f557-4a30-bbf2-c2681a544f32'
1
1498
And param elementsetname = 'full'
0
1499
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1500
When method get
298
1501
Then status 200
0
1502
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b4ae5b2c-f557-4a30-bbf2-c2681a544f32'
1
1503
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1504
* def title = get response //citation/CI_Citation/title/CharacterString
1
1505
* def email = get response //electronicMailAddress/CharacterString
1
1506
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1507
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1508
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1509
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
1510
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1511
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1512
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
1513
* print connectUrl
0
15:15:14.174 [print] https://geodata.nationaalgeoregister.nl/vin/wfs?request=GetCapabilities
1514
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1515
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1516
* print organisationpath
0
15:15:14.175 [print] Beheer PDOK
1517
* print operateson
0
15:15:14.175 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=831f7bd7-c2ae-4336-bd2f-47ab20d7cdb7#MD_DataIdentification
1518
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1519
* eval db.writeln('"b4ae5b2c-f557-4a30-bbf2-c2681a544f32","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1520
* eval db.writeln('"b4ae5b2c-f557-4a30-bbf2-c2681a544f32","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.41:18]1fa220c2-5f2e-4943-a57e-c291cc35084b
ms: 348
>>
Background:
1521
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
1522
* def mystorage = Java.type('storage.DataStorage')
1
1523
* def db = new mystorage
1
1524
* def db = db.setfeature(karate.info.featureFileName)
1
1525
* def separator = java.lang.System.getProperty("file.separator")
1
1526
* def outputpath = db.outputpath()
1
1527
* eval db.ensureDirectory(outputpath)
1
1528
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1529
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1530
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1531
Given path 'geonetwork/srv/dut/inspire'
1
1532
And param service = 'CSW'
0
1533
And param version = '2.0.2'
0
1534
And param request = 'GetRecordById'
0
1535
And param id = '1fa220c2-5f2e-4943-a57e-c291cc35084b'
1
1536
And param elementsetname = 'full'
0
1537
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1538
When method get
312
1539
Then status 200
0
1540
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1fa220c2-5f2e-4943-a57e-c291cc35084b'
5
1541
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
3
1542
* def title = get response //citation/CI_Citation/title/CharacterString
3
1543
* def email = get response //electronicMailAddress/CharacterString
2
1544
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
3
1545
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
3
1546
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1547
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
1548
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
2
1549
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
2
1550
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
1551
* print connectUrl
0
15:15:14.276 [print] https://geodata.nationaalgeoregister.nl/habitatrichtlijnverspreidingsgebieden/v2/wms?request=GetCapabilities
1552
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
2
1553
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
3
1554
* print organisationpath
0
15:15:14.281 [print] Beheer PDOK
1555
* print operateson
0
15:15:14.281 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f273941e-9c3b-43bc-b886-2d50d0bf9348#MD_DataIdentification
1556
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
3
1557
* eval db.writeln('"1fa220c2-5f2e-4943-a57e-c291cc35084b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1558
* eval db.writeln('"1fa220c2-5f2e-4943-a57e-c291cc35084b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.42:18]6a129fd1-0988-4b8a-975a-6ff134b6754a
ms: 297
>>
Background:
1559
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
1560
* def mystorage = Java.type('storage.DataStorage')
1
1561
* def db = new mystorage
1
1562
* def db = db.setfeature(karate.info.featureFileName)
1
1563
* def separator = java.lang.System.getProperty("file.separator")
1
1564
* def outputpath = db.outputpath()
1
1565
* eval db.ensureDirectory(outputpath)
1
1566
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1567
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1568
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1569
Given path 'geonetwork/srv/dut/inspire'
1
1570
And param service = 'CSW'
0
1571
And param version = '2.0.2'
0
1572
And param request = 'GetRecordById'
0
1573
And param id = '6a129fd1-0988-4b8a-975a-6ff134b6754a'
1
1574
And param elementsetname = 'full'
0
1575
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1576
When method get
284
1577
Then status 200
0
1578
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6a129fd1-0988-4b8a-975a-6ff134b6754a'
1
1579
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1580
* def title = get response //citation/CI_Citation/title/CharacterString
0
1581
* def email = get response //electronicMailAddress/CharacterString
0
1582
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1583
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1584
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1585
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1586
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1587
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1588
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
1589
* print connectUrl
0
15:15:14.339 [print] https://geodata.nationaalgeoregister.nl/ienw/geluidskaartspoorwegennacht/v1/wms?request=GetCapabilities&service=wms
1590
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1591
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1592
* print organisationpath
0
15:15:14.341 [print] Beheer PDOK
1593
* print operateson
0
15:15:14.341 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=002d9127-c16d-4b8d-9f5e-102a8c8e36c4#MD_DataIdentification
1594
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1595
* eval db.writeln('"6a129fd1-0988-4b8a-975a-6ff134b6754a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1596
* eval db.writeln('"6a129fd1-0988-4b8a-975a-6ff134b6754a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.43:18]7ab53b91-9df1-4c39-ba0e-06ec80ce512b
ms: 304
>>
Background:
1597
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
1598
* def mystorage = Java.type('storage.DataStorage')
1
1599
* def db = new mystorage
1
1600
* def db = db.setfeature(karate.info.featureFileName)
1
1601
* def separator = java.lang.System.getProperty("file.separator")
1
1602
* def outputpath = db.outputpath()
1
1603
* eval db.ensureDirectory(outputpath)
1
1604
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1605
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1606
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1607
Given path 'geonetwork/srv/dut/inspire'
1
1608
And param service = 'CSW'
0
1609
And param version = '2.0.2'
0
1610
And param request = 'GetRecordById'
0
1611
And param id = '7ab53b91-9df1-4c39-ba0e-06ec80ce512b'
1
1612
And param elementsetname = 'full'
0
1613
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1614
When method get
289
1615
Then status 200
0
1616
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7ab53b91-9df1-4c39-ba0e-06ec80ce512b'
1
1617
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1618
* def title = get response //citation/CI_Citation/title/CharacterString
1
1619
* def email = get response //electronicMailAddress/CharacterString
1
1620
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1621
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1622
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1623
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1624
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1625
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1626
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
1627
* print connectUrl
0
15:15:14.439 [print] https://geodata.nationaalgeoregister.nl/inspire/ps-cdda/wms?request=GetCapabilities
1628
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1629
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1630
* print organisationpath
0
15:15:14.440 [print] Beheer PDOK
1631
* print operateson
0
15:15:14.440 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3387ef8a-9237-453a-aa4e-585d1e193550#MD_DataIdentification
1632
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1633
* eval db.writeln('"7ab53b91-9df1-4c39-ba0e-06ec80ce512b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1634
* eval db.writeln('"7ab53b91-9df1-4c39-ba0e-06ec80ce512b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.44:18]9c5351c8-d8f4-41c2-9642-42a63496a6fe
ms: 341
>>
Background:
1635
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
1636
* def mystorage = Java.type('storage.DataStorage')
1
1637
* def db = new mystorage
1
1638
* def db = db.setfeature(karate.info.featureFileName)
1
1639
* def separator = java.lang.System.getProperty("file.separator")
1
1640
* def outputpath = db.outputpath()
1
1641
* eval db.ensureDirectory(outputpath)
1
1642
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1643
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1644
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1645
Given path 'geonetwork/srv/dut/inspire'
1
1646
And param service = 'CSW'
0
1647
And param version = '2.0.2'
0
1648
And param request = 'GetRecordById'
0
1649
And param id = '9c5351c8-d8f4-41c2-9642-42a63496a6fe'
1
1650
And param elementsetname = 'full'
0
1651
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1652
When method get
316
1653
Then status 200
0
1654
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9c5351c8-d8f4-41c2-9642-42a63496a6fe'
2
1655
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
1656
* def title = get response //citation/CI_Citation/title/CharacterString
2
1657
* def email = get response //electronicMailAddress/CharacterString
2
1658
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
2
1659
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
1660
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1661
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
1662
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
1663
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
1664
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
1665
* print connectUrl
0
15:15:14.513 [print] https://geodata.nationaalgeoregister.nl/habitatrichtlijnverspreidingsgebiedtypen/wms?request=GetCapabilities
1666
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
1667
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
1668
* print organisationpath
0
15:15:14.517 [print] Beheer PDOK
1669
* print operateson
0
15:15:14.517 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=03671a9e-6aaf-464d-be99-9aad25cef9e3#MD_DataIdentification
1670
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
2
1671
* eval db.writeln('"9c5351c8-d8f4-41c2-9642-42a63496a6fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1672
* eval db.writeln('"9c5351c8-d8f4-41c2-9642-42a63496a6fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.45:18]1ce74355-763a-481d-b9d7-aaafbf0d7d53
ms: 314
>>
Background:
1673
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
1674
* def mystorage = Java.type('storage.DataStorage')
1
1675
* def db = new mystorage
1
1676
* def db = db.setfeature(karate.info.featureFileName)
1
1677
* def separator = java.lang.System.getProperty("file.separator")
1
1678
* def outputpath = db.outputpath()
1
1679
* eval db.ensureDirectory(outputpath)
1
1680
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1681
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1682
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1683
Given path 'geonetwork/srv/dut/inspire'
0
1684
And param service = 'CSW'
0
1685
And param version = '2.0.2'
0
1686
And param request = 'GetRecordById'
0
1687
And param id = '1ce74355-763a-481d-b9d7-aaafbf0d7d53'
0
1688
And param elementsetname = 'full'
0
1689
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1690
When method get
294
1691
Then status 200
0
1692
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1ce74355-763a-481d-b9d7-aaafbf0d7d53'
2
1693
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
1694
* def title = get response //citation/CI_Citation/title/CharacterString
2
1695
* def email = get response //electronicMailAddress/CharacterString
1
1696
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1697
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1698
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1699
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
1700
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
1701
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
1702
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
1703
* print connectUrl
0
15:15:14.595 [print] https://geodata.nationaalgeoregister.nl/habitatrichtlijnverspreidingsoorten/v2/wms?request=GetCapabilities
1704
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
1705
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1706
* print organisationpath
0
15:15:14.598 [print] Beheer PDOK
1707
* print operateson
0
15:15:14.598 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=28c4780a-1a44-4376-b283-14a50a481729#MD_DataIdentification
1708
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1709
* eval db.writeln('"1ce74355-763a-481d-b9d7-aaafbf0d7d53","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1710
* eval db.writeln('"1ce74355-763a-481d-b9d7-aaafbf0d7d53","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.46:18]280cee65-1b66-4973-a569-75122e0b745b
ms: 301
>>
Background:
1711
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
1712
* def mystorage = Java.type('storage.DataStorage')
1
1713
* def db = new mystorage
1
1714
* def db = db.setfeature(karate.info.featureFileName)
1
1715
* def separator = java.lang.System.getProperty("file.separator")
1
1716
* def outputpath = db.outputpath()
1
1717
* eval db.ensureDirectory(outputpath)
1
1718
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1719
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1720
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1721
Given path 'geonetwork/srv/dut/inspire'
1
1722
And param service = 'CSW'
0
1723
And param version = '2.0.2'
0
1724
And param request = 'GetRecordById'
0
1725
And param id = '280cee65-1b66-4973-a569-75122e0b745b'
1
1726
And param elementsetname = 'full'
0
1727
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1728
When method get
288
1729
Then status 200
0
1730
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '280cee65-1b66-4973-a569-75122e0b745b'
0
1731
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1732
* def title = get response //citation/CI_Citation/title/CharacterString
0
1733
* def email = get response //electronicMailAddress/CharacterString
0
1734
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
1735
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1736
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1737
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1738
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1739
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1740
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
1741
* print connectUrl
0
15:15:14.640 [print] https://geodata.nationaalgeoregister.nl/rws/richtlijnstedelijkafvalwater2015/wfs/v1_0?request=GetCapabilities&service=WFS
1742
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1743
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1744
* print organisationpath
0
15:15:14.641 [print] Beheer PDOK
1745
* print operateson
0
15:15:14.641 [print] [
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e2#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e1#MD_DataIdentification"
]
1746
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1747
* eval db.writeln('"280cee65-1b66-4973-a569-75122e0b745b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
1748
* eval db.writeln('"280cee65-1b66-4973-a569-75122e0b745b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.47:18]dd49e02c-ea87-4ffc-89dd-f888608d95b7
ms: 294
>>
Background:
1749
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
1750
* def mystorage = Java.type('storage.DataStorage')
1
1751
* def db = new mystorage
1
1752
* def db = db.setfeature(karate.info.featureFileName)
1
1753
* def separator = java.lang.System.getProperty("file.separator")
1
1754
* def outputpath = db.outputpath()
1
1755
* eval db.ensureDirectory(outputpath)
1
1756
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1757
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1758
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1759
Given path 'geonetwork/srv/dut/inspire'
1
1760
And param service = 'CSW'
0
1761
And param version = '2.0.2'
0
1762
And param request = 'GetRecordById'
0
1763
And param id = 'dd49e02c-ea87-4ffc-89dd-f888608d95b7'
1
1764
And param elementsetname = 'full'
0
1765
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1766
When method get
283
1767
Then status 200
0
1768
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dd49e02c-ea87-4ffc-89dd-f888608d95b7'
1
1769
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
1770
* def title = get response //citation/CI_Citation/title/CharacterString
0
1771
* def email = get response //electronicMailAddress/CharacterString
0
1772
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1773
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
1774
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1775
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1776
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1777
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1778
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
1779
* print connectUrl
0
15:15:14.736 [print] https://geodata.nationaalgeoregister.nl/nationaleparken/wms?request=GetCapabilities&service=wms
1780
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1781
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1782
* print organisationpath
0
15:15:14.737 [print] Beheer PDOK
1783
* print operateson
0
15:15:14.737 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4961d305-fbb5-426a-9ba3-53e1ca5f3b18
1784
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1785
* eval db.writeln('"dd49e02c-ea87-4ffc-89dd-f888608d95b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1786
* eval db.writeln('"dd49e02c-ea87-4ffc-89dd-f888608d95b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.48:18]abf1f9f0-1b85-40e8-86ec-86bee6003b4e
ms: 299
>>
Background:
1787
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
1788
* def mystorage = Java.type('storage.DataStorage')
1
1789
* def db = new mystorage
1
1790
* def db = db.setfeature(karate.info.featureFileName)
1
1791
* def separator = java.lang.System.getProperty("file.separator")
1
1792
* def outputpath = db.outputpath()
1
1793
* eval db.ensureDirectory(outputpath)
1
1794
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1795
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1796
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1797
Given path 'geonetwork/srv/dut/inspire'
1
1798
And param service = 'CSW'
0
1799
And param version = '2.0.2'
0
1800
And param request = 'GetRecordById'
0
1801
And param id = 'abf1f9f0-1b85-40e8-86ec-86bee6003b4e'
0
1802
And param elementsetname = 'full'
0
1803
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1804
When method get
278
1805
Then status 200
0
1806
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'abf1f9f0-1b85-40e8-86ec-86bee6003b4e'
1
1807
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1808
* def title = get response //citation/CI_Citation/title/CharacterString
1
1809
* def email = get response //electronicMailAddress/CharacterString
1
1810
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
2
1811
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
1812
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1813
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
1814
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
1815
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
1816
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
1817
* print connectUrl
0
15:15:14.814 [print] https://geodata.nationaalgeoregister.nl/cbsvierkanten100mv2/wms/?request=GetCapabilities
1818
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
1819
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1820
* print organisationpath
0
15:15:14.816 [print] Beheer PDOK
1821
* print operateson
0
15:15:14.816 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=1462bbce-ccd3-4362-83d8-4535ca8f44eb#MD_DataIdentification
1822
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1823
* eval db.writeln('"abf1f9f0-1b85-40e8-86ec-86bee6003b4e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1824
* eval db.writeln('"abf1f9f0-1b85-40e8-86ec-86bee6003b4e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.49:18]2b9da196-422e-4b0e-a5ba-ba41ade308e9
ms: 326
>>
Background:
1825
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
1826
* def mystorage = Java.type('storage.DataStorage')
1
1827
* def db = new mystorage
1
1828
* def db = db.setfeature(karate.info.featureFileName)
1
1829
* def separator = java.lang.System.getProperty("file.separator")
1
1830
* def outputpath = db.outputpath()
1
1831
* eval db.ensureDirectory(outputpath)
1
1832
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1833
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1834
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1835
Given path 'geonetwork/srv/dut/inspire'
1
1836
And param service = 'CSW'
0
1837
And param version = '2.0.2'
0
1838
And param request = 'GetRecordById'
0
1839
And param id = '2b9da196-422e-4b0e-a5ba-ba41ade308e9'
1
1840
And param elementsetname = 'full'
0
1841
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1842
When method get
300
1843
Then status 200
0
1844
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2b9da196-422e-4b0e-a5ba-ba41ade308e9'
2
1845
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
1846
* def title = get response //citation/CI_Citation/title/CharacterString
2
1847
* def email = get response //electronicMailAddress/CharacterString
2
1848
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
2
1849
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
1850
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1851
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
1852
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
1853
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
1854
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
1855
* print connectUrl
0
15:15:14.920 [print] https://geodata.nationaalgeoregister.nl/habitatrichtlijnverspreidingtypen/wms?request=GetCapabilities
1856
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
1857
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
1858
* print organisationpath
0
15:15:14.923 [print] Beheer PDOK
1859
* print operateson
0
15:15:14.923 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=977e0e94-7aa9-4784-b2da-eaec44adb61b#MD_DataIdentification
1860
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
2
1861
* eval db.writeln('"2b9da196-422e-4b0e-a5ba-ba41ade308e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1862
* eval db.writeln('"2b9da196-422e-4b0e-a5ba-ba41ade308e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.50:18]a5437cb4-98ef-4c8e-a5ed-000e7a82b774
ms: 289
>>
Background:
1863
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
1864
* def mystorage = Java.type('storage.DataStorage')
1
1865
* def db = new mystorage
1
1866
* def db = db.setfeature(karate.info.featureFileName)
1
1867
* def separator = java.lang.System.getProperty("file.separator")
1
1868
* def outputpath = db.outputpath()
1
1869
* eval db.ensureDirectory(outputpath)
1
1870
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1871
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1872
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1873
Given path 'geonetwork/srv/dut/inspire'
1
1874
And param service = 'CSW'
0
1875
And param version = '2.0.2'
0
1876
And param request = 'GetRecordById'
0
1877
And param id = 'a5437cb4-98ef-4c8e-a5ed-000e7a82b774'
1
1878
And param elementsetname = 'full'
0
1879
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1880
When method get
275
1881
Then status 200
0
1882
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a5437cb4-98ef-4c8e-a5ed-000e7a82b774'
2
1883
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1884
* def title = get response //citation/CI_Citation/title/CharacterString
1
1885
* def email = get response //electronicMailAddress/CharacterString
1
1886
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1887
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1888
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1889
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1890
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1891
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1892
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
1893
* print connectUrl
0
15:15:14.934 [print] https://geodata.nationaalgeoregister.nl/cbsvierkanten100mv2/wfs?request=GetCapabilities
1894
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1895
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
1896
* print organisationpath
0
15:15:14.935 [print] PDOK
1897
* print operateson
0
15:15:14.935 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=1462bbce-ccd3-4362-83d8-4535ca8f44eb#MD_DataIdentification
1898
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1899
* eval db.writeln('"a5437cb4-98ef-4c8e-a5ed-000e7a82b774","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
1900
* eval db.writeln('"a5437cb4-98ef-4c8e-a5ed-000e7a82b774","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.51:18]627b50bf-2e33-4beb-a314-ff8c0fe8912e
ms: 291
>>
Background:
1901
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
1902
* def mystorage = Java.type('storage.DataStorage')
1
1903
* def db = new mystorage
1
1904
* def db = db.setfeature(karate.info.featureFileName)
1
1905
* def separator = java.lang.System.getProperty("file.separator")
1
1906
* def outputpath = db.outputpath()
1
1907
* eval db.ensureDirectory(outputpath)
1
1908
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1909
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1910
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1911
Given path 'geonetwork/srv/dut/inspire'
1
1912
And param service = 'CSW'
0
1913
And param version = '2.0.2'
0
1914
And param request = 'GetRecordById'
0
1915
And param id = '627b50bf-2e33-4beb-a314-ff8c0fe8912e'
1
1916
And param elementsetname = 'full'
0
1917
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1918
When method get
278
1919
Then status 200
0
1920
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '627b50bf-2e33-4beb-a314-ff8c0fe8912e'
1
1921
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1922
* def title = get response //citation/CI_Citation/title/CharacterString
1
1923
* def email = get response //electronicMailAddress/CharacterString
1
1924
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1925
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1926
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1927
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
1928
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
1929
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1930
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
1931
* print connectUrl
0
15:15:15.027 [print] https://geodata.nationaalgeoregister.nl/nl/rws/tn-w/wms?request=GetCapabilities
1932
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1933
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1934
* print organisationpath
0
15:15:15.028 [print] Beheer PDOK
1935
* print operateson
0
15:15:15.028 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-2c7040b-c448-451b-bf15-f2416ecaadd1#MD_DataIdentification
1936
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
1937
* eval db.writeln('"627b50bf-2e33-4beb-a314-ff8c0fe8912e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1938
* eval db.writeln('"627b50bf-2e33-4beb-a314-ff8c0fe8912e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.52:18]2650d49b-7d9a-49b5-b748-a0372cd9b5cf
ms: 306
>>
Background:
1939
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
1940
* def mystorage = Java.type('storage.DataStorage')
1
1941
* def db = new mystorage
1
1942
* def db = db.setfeature(karate.info.featureFileName)
1
1943
* def separator = java.lang.System.getProperty("file.separator")
1
1944
* def outputpath = db.outputpath()
1
1945
* eval db.ensureDirectory(outputpath)
1
1946
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1947
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1948
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1949
Given path 'geonetwork/srv/dut/inspire'
1
1950
And param service = 'CSW'
0
1951
And param version = '2.0.2'
0
1952
And param request = 'GetRecordById'
0
1953
And param id = '2650d49b-7d9a-49b5-b748-a0372cd9b5cf'
1
1954
And param elementsetname = 'full'
0
1955
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1956
When method get
284
1957
Then status 200
0
1958
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2650d49b-7d9a-49b5-b748-a0372cd9b5cf'
1
1959
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1960
* def title = get response //citation/CI_Citation/title/CharacterString
1
1961
* def email = get response //electronicMailAddress/CharacterString
1
1962
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
1963
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
1964
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
1965
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
1966
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
8
1967
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
1968
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
1969
* print connectUrl
0
15:15:15.123 [print] http://geodata.nationaalgeoregister.nl/wsdiensteninspire/wms?request=getcapabilities&service=WMS
1970
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
1971
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
1972
* print organisationpath
0
15:15:15.124 [print] Beheer PDOK
1973
* print operateson
0
15:15:15.124 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=bffcd5d9-02b4-4e7d-991f-a386611cad84#MD_DataIdentification
1974
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
1975
* eval db.writeln('"2650d49b-7d9a-49b5-b748-a0372cd9b5cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
1976
* eval db.writeln('"2650d49b-7d9a-49b5-b748-a0372cd9b5cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.53:18]3d01c1ca-973c-4652-baa5-39458bb9e181
ms: 277
>>
Background:
1977
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
1978
* def mystorage = Java.type('storage.DataStorage')
1
1979
* def db = new mystorage
1
1980
* def db = db.setfeature(karate.info.featureFileName)
1
1981
* def separator = java.lang.System.getProperty("file.separator")
1
1982
* def outputpath = db.outputpath()
1
1983
* eval db.ensureDirectory(outputpath)
1
1984
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
1985
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
1986
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
1987
Given path 'geonetwork/srv/dut/inspire'
0
1988
And param service = 'CSW'
0
1989
And param version = '2.0.2'
0
1990
And param request = 'GetRecordById'
0
1991
And param id = '3d01c1ca-973c-4652-baa5-39458bb9e181'
0
1992
And param elementsetname = 'full'
0
1993
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
1994
When method get
262
1995
Then status 200
0
1996
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3d01c1ca-973c-4652-baa5-39458bb9e181'
1
1997
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
1998
* def title = get response //citation/CI_Citation/title/CharacterString
1
1999
* def email = get response //electronicMailAddress/CharacterString
1
2000
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2001
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2002
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2003
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2004
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
2005
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2006
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
2007
* print connectUrl
0
15:15:15.200 [print] https://geodata.nationaalgeoregister.nl/schelpdierenpercelen/wms?request=GetCapabilities
2008
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
2009
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2010
* print organisationpath
0
15:15:15.202 [print] Beheer PDOK
2011
* print operateson
0
15:15:15.203 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=fe0e1e5f-512f-4bb1-bbf8-4028d3dfa24f#MD_DataIdentification
2012
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
2013
* eval db.writeln('"3d01c1ca-973c-4652-baa5-39458bb9e181","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2014
* eval db.writeln('"3d01c1ca-973c-4652-baa5-39458bb9e181","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.54:18]feabca04-e3fd-4802-96f2-583d328e30ad
ms: 333
>>
Background:
2015
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
2016
* def mystorage = Java.type('storage.DataStorage')
1
2017
* def db = new mystorage
1
2018
* def db = db.setfeature(karate.info.featureFileName)
1
2019
* def separator = java.lang.System.getProperty("file.separator")
1
2020
* def outputpath = db.outputpath()
1
2021
* eval db.ensureDirectory(outputpath)
1
2022
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2023
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2024
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2025
Given path 'geonetwork/srv/dut/inspire'
1
2026
And param service = 'CSW'
0
2027
And param version = '2.0.2'
0
2028
And param request = 'GetRecordById'
0
2029
And param id = 'feabca04-e3fd-4802-96f2-583d328e30ad'
1
2030
And param elementsetname = 'full'
0
2031
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2032
When method get
312
2033
Then status 200
0
2034
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'feabca04-e3fd-4802-96f2-583d328e30ad'
1
2035
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2036
* def title = get response //citation/CI_Citation/title/CharacterString
1
2037
* def email = get response //electronicMailAddress/CharacterString
0
2038
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
2
2039
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2040
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2041
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2042
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2043
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2044
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
2045
* print connectUrl
0
15:15:15.262 [print] https://geodata.nationaalgeoregister.nl/wijkenbuurten2018/wfs?request=GetCapabilities
2046
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
4
2047
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2048
* print organisationpath
0
15:15:15.267 [print] Beheer PDOK
2049
* print operateson
0
15:15:15.267 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=ffefc3dc-dc8f-4589-ae22-a60bebcdf5cb#MD_DataIdentification
2050
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2051
* eval db.writeln('"feabca04-e3fd-4802-96f2-583d328e30ad","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2052
* eval db.writeln('"feabca04-e3fd-4802-96f2-583d328e30ad","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.55:18]db1e010a-96f8-453e-b63c-9c27d6273157
ms: 297
>>
Background:
2053
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
2054
* def mystorage = Java.type('storage.DataStorage')
1
2055
* def db = new mystorage
1
2056
* def db = db.setfeature(karate.info.featureFileName)
1
2057
* def separator = java.lang.System.getProperty("file.separator")
1
2058
* def outputpath = db.outputpath()
1
2059
* eval db.ensureDirectory(outputpath)
1
2060
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2061
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2062
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2063
Given path 'geonetwork/srv/dut/inspire'
1
2064
And param service = 'CSW'
0
2065
And param version = '2.0.2'
0
2066
And param request = 'GetRecordById'
0
2067
And param id = 'db1e010a-96f8-453e-b63c-9c27d6273157'
1
2068
And param elementsetname = 'full'
0
2069
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2070
When method get
283
2071
Then status 200
0
2072
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'db1e010a-96f8-453e-b63c-9c27d6273157'
1
2073
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2074
* def title = get response //citation/CI_Citation/title/CharacterString
0
2075
* def email = get response //electronicMailAddress/CharacterString
0
2076
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2077
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2078
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2079
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2080
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2081
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2082
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
2083
* print connectUrl
0
15:15:15.323 [print] https://geodata.nationaalgeoregister.nl/bestandbodemgebruik2015/wms?request=GetCapabilities
2084
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2085
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2086
* print organisationpath
0
15:15:15.324 [print] Beheer PDOK
2087
* print operateson
0
15:15:15.324 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=2d3dd6d2-2d2b-4b5f-9e30-86e19ed77a56#MD_DataIdentification
2088
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2089
* eval db.writeln('"db1e010a-96f8-453e-b63c-9c27d6273157","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
4
2090
* eval db.writeln('"db1e010a-96f8-453e-b63c-9c27d6273157","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.56:18]40c4ec8c-14b2-4104-982b-c0ebfd5397c4
ms: 422
>>
Background:
2091
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
2092
* def mystorage = Java.type('storage.DataStorage')
1
2093
* def db = new mystorage
1
2094
* def db = db.setfeature(karate.info.featureFileName)
1
2095
* def separator = java.lang.System.getProperty("file.separator")
1
2096
* def outputpath = db.outputpath()
1
2097
* eval db.ensureDirectory(outputpath)
1
2098
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2099
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2100
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2101
Given path 'geonetwork/srv/dut/inspire'
1
2102
And param service = 'CSW'
0
2103
And param version = '2.0.2'
0
2104
And param request = 'GetRecordById'
0
2105
And param id = '40c4ec8c-14b2-4104-982b-c0ebfd5397c4'
1
2106
And param elementsetname = 'full'
0
2107
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2108
When method get
409
2109
Then status 200
0
2110
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '40c4ec8c-14b2-4104-982b-c0ebfd5397c4'
1
2111
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2112
* def title = get response //citation/CI_Citation/title/CharacterString
1
2113
* def email = get response //electronicMailAddress/CharacterString
1
2114
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2115
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2116
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2117
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2118
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2119
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2120
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
2121
* print connectUrl
0
15:15:15.545 [print] https://geodata.nationaalgeoregister.nl/inspire/su-grid/wfs?request=GetCapabilities
2122
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2123
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2124
* print organisationpath
0
15:15:15.547 [print] Beheer PDOK
2125
* print operateson
0
15:15:15.547 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=db8d613f-5edc-4467-9cc0-e2dcfb9d64a8#MD_DataIdentification
2126
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2127
* eval db.writeln('"40c4ec8c-14b2-4104-982b-c0ebfd5397c4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2128
* eval db.writeln('"40c4ec8c-14b2-4104-982b-c0ebfd5397c4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.57:18]f76bdce5-344e-415f-8f2c-972755e80b65
ms: 436
>>
Background:
2129
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
2130
* def mystorage = Java.type('storage.DataStorage')
1
2131
* def db = new mystorage
1
2132
* def db = db.setfeature(karate.info.featureFileName)
1
2133
* def separator = java.lang.System.getProperty("file.separator")
1
2134
* def outputpath = db.outputpath()
1
2135
* eval db.ensureDirectory(outputpath)
1
2136
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2137
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2138
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2139
Given path 'geonetwork/srv/dut/inspire'
0
2140
And param service = 'CSW'
0
2141
And param version = '2.0.2'
0
2142
And param request = 'GetRecordById'
0
2143
And param id = 'f76bdce5-344e-415f-8f2c-972755e80b65'
0
2144
And param elementsetname = 'full'
0
2145
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2146
When method get
371
2147
Then status 200
0
2148
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f76bdce5-344e-415f-8f2c-972755e80b65'
0
2149
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2150
* def title = get response //citation/CI_Citation/title/CharacterString
0
2151
* def email = get response //electronicMailAddress/CharacterString
0
2152
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
2153
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
6
2154
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2155
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2156
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2157
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2158
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
3
2159
* print connectUrl
0
15:15:15.593 [print] https://geodata.nationaalgeoregister.nl/schelpdierwater/wms?request=GetCapabilities&service=WMS
2160
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2161
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2162
* print organisationpath
0
15:15:15.594 [print] Beheer PDOK
2163
* print operateson
0
15:15:15.594 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=4783ea4f-6b8c-4600-8af0-516f3556cfe9#MD_DataIdentification
2164
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2165
* eval db.writeln('"f76bdce5-344e-415f-8f2c-972755e80b65","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
22
2166
* eval db.writeln('"f76bdce5-344e-415f-8f2c-972755e80b65","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
27
Scenario Outline: [1.58:18]9940c446-6fd4-4ab3-a4de-7d0ee028a8d1
ms: 326
>>
Background:
2167
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
2168
* def mystorage = Java.type('storage.DataStorage')
1
2169
* def db = new mystorage
1
2170
* def db = db.setfeature(karate.info.featureFileName)
1
2171
* def separator = java.lang.System.getProperty("file.separator")
1
2172
* def outputpath = db.outputpath()
1
2173
* eval db.ensureDirectory(outputpath)
1
2174
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2175
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2176
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2177
Given path 'geonetwork/srv/dut/inspire'
0
2178
And param service = 'CSW'
0
2179
And param version = '2.0.2'
0
2180
And param request = 'GetRecordById'
0
2181
And param id = '9940c446-6fd4-4ab3-a4de-7d0ee028a8d1'
1
2182
And param elementsetname = 'full'
0
2183
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2184
When method get
280
2185
Then status 200
0
2186
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9940c446-6fd4-4ab3-a4de-7d0ee028a8d1'
1
2187
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2188
* def title = get response //citation/CI_Citation/title/CharacterString
1
2189
* def email = get response //electronicMailAddress/CharacterString
1
2190
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2191
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2192
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2193
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2194
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2195
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2196
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
2197
* print connectUrl
0
15:15:15.560 [print] https://geodata.nationaalgeoregister.nl/ecotopen/wfs?request=GetCapabilities
2198
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2199
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2200
* print organisationpath
0
15:15:15.561 [print] Beheer PDOK
2201
* print operateson
29
15:15:15.590 [print] [
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=2220c0dd-3720-4e39-a130-171531c1e694#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=78d31ab4-4116-45b7-bcf5-e14960916b0f#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=b250f3a4-ed78-4c85-8cd5-f1af43841c6d#MD_DataIdentification"
]
2202
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
2203
* eval db.writeln('"9940c446-6fd4-4ab3-a4de-7d0ee028a8d1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2204
* eval db.writeln('"9940c446-6fd4-4ab3-a4de-7d0ee028a8d1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
7
Scenario Outline: [1.59:18]1bd24d1e-aa13-4395-809e-893570f7c651
ms: 314
>>
Background:
2205
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
2206
* def mystorage = Java.type('storage.DataStorage')
1
2207
* def db = new mystorage
1
2208
* def db = db.setfeature(karate.info.featureFileName)
1
2209
* def separator = java.lang.System.getProperty("file.separator")
1
2210
* def outputpath = db.outputpath()
1
2211
* eval db.ensureDirectory(outputpath)
1
2212
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2213
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2214
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2215
Given path 'geonetwork/srv/dut/inspire'
0
2216
And param service = 'CSW'
0
2217
And param version = '2.0.2'
0
2218
And param request = 'GetRecordById'
0
2219
And param id = '1bd24d1e-aa13-4395-809e-893570f7c651'
1
2220
And param elementsetname = 'full'
0
2221
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2222
When method get
267
2223
Then status 200
0
2224
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1bd24d1e-aa13-4395-809e-893570f7c651'
12
2225
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2226
* def title = get response //citation/CI_Citation/title/CharacterString
0
2227
* def email = get response //electronicMailAddress/CharacterString
0
2228
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2229
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
15
2230
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2231
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2232
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2233
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2234
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
2235
* print connectUrl
0
15:15:15.629 [print] https://geodata.nationaalgeoregister.nl/overheidsdiensten/wms?request=GetCapabilities
2236
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2237
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2238
* print organisationpath
0
15:15:15.630 [print] Beheer PDOK
2239
* print operateson
2
15:15:15.632 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c935f2ab-9b65-4dc4-94a0-73aeb840a941#MD_DataIdentification
2240
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
2241
* eval db.writeln('"1bd24d1e-aa13-4395-809e-893570f7c651","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
2242
* eval db.writeln('"1bd24d1e-aa13-4395-809e-893570f7c651","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
11
Scenario Outline: [1.60:18]c226f573-4b39-4cbd-b84b-01f308e70972
ms: 302
>>
Background:
2243
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
2244
* def mystorage = Java.type('storage.DataStorage')
1
2245
* def db = new mystorage
1
2246
* def db = db.setfeature(karate.info.featureFileName)
1
2247
* def separator = java.lang.System.getProperty("file.separator")
1
2248
* def outputpath = db.outputpath()
1
2249
* eval db.ensureDirectory(outputpath)
1
2250
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2251
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2252
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2253
Given path 'geonetwork/srv/dut/inspire'
0
2254
And param service = 'CSW'
0
2255
And param version = '2.0.2'
0
2256
And param request = 'GetRecordById'
0
2257
And param id = 'c226f573-4b39-4cbd-b84b-01f308e70972'
9
2258
And param elementsetname = 'full'
0
2259
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2260
When method get
281
2261
Then status 200
0
2262
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c226f573-4b39-4cbd-b84b-01f308e70972'
1
2263
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2264
* def title = get response //citation/CI_Citation/title/CharacterString
1
2265
* def email = get response //electronicMailAddress/CharacterString
1
2266
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2267
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2268
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2269
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2270
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2271
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2272
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
2273
* print connectUrl
0
15:15:15.848 [print] https://geodata.nationaalgeoregister.nl/cbsprovincies/wfs?request=GetCapabilities
2274
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2275
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2276
* print organisationpath
0
15:15:15.849 [print] Beheer PDOK
2277
* print operateson
0
15:15:15.849 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=71c2b7d2-a1a8-4836-b8d4-7247d331b04d#MD_DataIdentification
2278
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
2279
* eval db.writeln('"c226f573-4b39-4cbd-b84b-01f308e70972","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2280
* eval db.writeln('"c226f573-4b39-4cbd-b84b-01f308e70972","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.61:18]9699058e-707e-41df-93b5-ff75654d32b2
ms: 301
>>
Background:
2281
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
2282
* def mystorage = Java.type('storage.DataStorage')
1
2283
* def db = new mystorage
1
2284
* def db = db.setfeature(karate.info.featureFileName)
1
2285
* def separator = java.lang.System.getProperty("file.separator")
1
2286
* def outputpath = db.outputpath()
1
2287
* eval db.ensureDirectory(outputpath)
1
2288
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2289
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2290
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2291
Given path 'geonetwork/srv/dut/inspire'
10
2292
And param service = 'CSW'
0
2293
And param version = '2.0.2'
0
2294
And param request = 'GetRecordById'
0
2295
And param id = '9699058e-707e-41df-93b5-ff75654d32b2'
1
2296
And param elementsetname = 'full'
0
2297
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2298
When method get
276
2299
Then status 200
0
2300
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9699058e-707e-41df-93b5-ff75654d32b2'
1
2301
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2302
* def title = get response //citation/CI_Citation/title/CharacterString
1
2303
* def email = get response //electronicMailAddress/CharacterString
1
2304
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2305
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2306
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2307
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
2308
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
2309
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
2310
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
2311
* print connectUrl
0
15:15:15.914 [print] https://geodata.nationaalgeoregister.nl/cbsprovincies/wms?request=GetCapabilities
2312
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
2313
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2314
* print organisationpath
0
15:15:15.916 [print] Beheer PDOK
2315
* print operateson
0
15:15:15.916 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=71c2b7d2-a1a8-4836-b8d4-7247d331b04d#MD_DataIdentification
2316
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
2317
* eval db.writeln('"9699058e-707e-41df-93b5-ff75654d32b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
2318
* eval db.writeln('"9699058e-707e-41df-93b5-ff75654d32b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.62:18]87a382da-c6dc-403c-a006-2379eb6daaa6
ms: 341
>>
Background:
2319
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
2320
* def mystorage = Java.type('storage.DataStorage')
1
2321
* def db = new mystorage
1
2322
* def db = db.setfeature(karate.info.featureFileName)
1
2323
* def separator = java.lang.System.getProperty("file.separator")
1
2324
* def outputpath = db.outputpath()
1
2325
* eval db.ensureDirectory(outputpath)
1
2326
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2327
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2328
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2329
Given path 'geonetwork/srv/dut/inspire'
4
2330
And param service = 'CSW'
0
2331
And param version = '2.0.2'
0
2332
And param request = 'GetRecordById'
0
2333
And param id = '87a382da-c6dc-403c-a006-2379eb6daaa6'
1
2334
And param elementsetname = 'full'
0
2335
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2336
When method get
327
2337
Then status 200
0
2338
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '87a382da-c6dc-403c-a006-2379eb6daaa6'
0
2339
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2340
* def title = get response //citation/CI_Citation/title/CharacterString
0
2341
* def email = get response //electronicMailAddress/CharacterString
0
2342
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
2343
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2344
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2345
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2346
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2347
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2348
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
2349
* print connectUrl
0
15:15:15.979 [print] https://inspire.caris.nl/gs5/pssa_nl/ows?service=WMS&version=1.3.0&request=GetCapabilities
2350
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2351
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2352
* print organisationpath
0
15:15:15.980 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
2353
* print operateson
0
15:15:15.980 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=f1d27179-36eb-4376-8048-f51d2eb23a09&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
2354
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2355
* eval db.writeln('"87a382da-c6dc-403c-a006-2379eb6daaa6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2356
* eval db.writeln('"87a382da-c6dc-403c-a006-2379eb6daaa6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.63:18]171b28f6-7ee7-46f9-b3b3-06d0baaa33db
ms: 317
>>
Background:
2357
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
2358
* def mystorage = Java.type('storage.DataStorage')
1
2359
* def db = new mystorage
1
2360
* def db = db.setfeature(karate.info.featureFileName)
1
2361
* def separator = java.lang.System.getProperty("file.separator")
1
2362
* def outputpath = db.outputpath()
1
2363
* eval db.ensureDirectory(outputpath)
1
2364
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2365
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2366
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2367
Given path 'geonetwork/srv/dut/inspire'
0
2368
And param service = 'CSW'
0
2369
And param version = '2.0.2'
0
2370
And param request = 'GetRecordById'
0
2371
And param id = '171b28f6-7ee7-46f9-b3b3-06d0baaa33db'
1
2372
And param elementsetname = 'full'
0
2373
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2374
When method get
306
2375
Then status 200
0
2376
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '171b28f6-7ee7-46f9-b3b3-06d0baaa33db'
1
2377
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2378
* def title = get response //citation/CI_Citation/title/CharacterString
0
2379
* def email = get response //electronicMailAddress/CharacterString
0
2380
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2381
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2382
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2383
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2384
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2385
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2386
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
2387
* print connectUrl
0
15:15:15.958 [print] https://service.pdok.nl/cbs/pd/wms/v1_0?request=GetCapabilities&service=WMS
2388
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2389
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2390
* print organisationpath
0
15:15:15.959 [print] Beheer PDOK
2391
* print operateson
0
15:15:15.959 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76541ebb-a554-4540-a017-399d4bb4a860#MD_DataIdentification
2392
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2393
* eval db.writeln('"171b28f6-7ee7-46f9-b3b3-06d0baaa33db","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2394
* eval db.writeln('"171b28f6-7ee7-46f9-b3b3-06d0baaa33db","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.64:18]1ff0035a-acc0-4a67-a76c-3b79646b4eef
ms: 293
>>
Background:
2395
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
2396
* def mystorage = Java.type('storage.DataStorage')
1
2397
* def db = new mystorage
1
2398
* def db = db.setfeature(karate.info.featureFileName)
1
2399
* def separator = java.lang.System.getProperty("file.separator")
1
2400
* def outputpath = db.outputpath()
1
2401
* eval db.ensureDirectory(outputpath)
1
2402
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2403
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2404
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2405
Given path 'geonetwork/srv/dut/inspire'
1
2406
And param service = 'CSW'
0
2407
And param version = '2.0.2'
0
2408
And param request = 'GetRecordById'
0
2409
And param id = '1ff0035a-acc0-4a67-a76c-3b79646b4eef'
0
2410
And param elementsetname = 'full'
0
2411
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2412
When method get
283
2413
Then status 200
0
2414
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1ff0035a-acc0-4a67-a76c-3b79646b4eef'
1
2415
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
2416
* def title = get response //citation/CI_Citation/title/CharacterString
0
2417
* def email = get response //electronicMailAddress/CharacterString
0
2418
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
2419
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2420
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2421
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2422
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2423
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2424
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
2425
* print connectUrl
0
15:15:16.142 [print] https://inspire.caris.nl/server/services/ows/view/map/amplitude-getij_IVS?request=GetCapabilities&service=WMS&version=1.3.0
2426
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2427
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2428
* print organisationpath
0
15:15:16.143 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
2429
* print operateson
0
15:15:16.143 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=be6551de-a709-4c6d-a5e2-f63f0cf038ba&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
2430
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2431
* eval db.writeln('"1ff0035a-acc0-4a67-a76c-3b79646b4eef","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2432
* eval db.writeln('"1ff0035a-acc0-4a67-a76c-3b79646b4eef","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.65:18]d69fee4a-e3ff-47d4-919d-e55276a3fad9
ms: 319
>>
Background:
2433
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
2434
* def mystorage = Java.type('storage.DataStorage')
1
2435
* def db = new mystorage
1
2436
* def db = db.setfeature(karate.info.featureFileName)
1
2437
* def separator = java.lang.System.getProperty("file.separator")
1
2438
* def outputpath = db.outputpath()
1
2439
* eval db.ensureDirectory(outputpath)
1
2440
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2441
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2442
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2443
Given path 'geonetwork/srv/dut/inspire'
0
2444
And param service = 'CSW'
0
2445
And param version = '2.0.2'
0
2446
And param request = 'GetRecordById'
0
2447
And param id = 'd69fee4a-e3ff-47d4-919d-e55276a3fad9'
1
2448
And param elementsetname = 'full'
0
2449
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2450
When method get
307
2451
Then status 200
0
2452
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd69fee4a-e3ff-47d4-919d-e55276a3fad9'
1
2453
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2454
* def title = get response //citation/CI_Citation/title/CharacterString
1
2455
* def email = get response //electronicMailAddress/CharacterString
0
2456
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2457
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2458
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2459
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2460
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2461
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2462
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
2463
* print connectUrl
0
15:15:16.235 [print] https://geodata.nationaalgeoregister.nl/inspire/tn-a/wms?request=GetCapabilities
2464
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2465
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2466
* print organisationpath
0
15:15:16.237 [print] Beheer PDOK
2467
* print operateson
0
15:15:16.237 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=31de946d-85d4-4c93-bb97-e25f4ef1401a#MD_DataIdentification
2468
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
2469
* eval db.writeln('"d69fee4a-e3ff-47d4-919d-e55276a3fad9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2470
* eval db.writeln('"d69fee4a-e3ff-47d4-919d-e55276a3fad9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.66:18]d981070b-888c-42d5-85ff-1e383f3d7fce
ms: 290
>>
Background:
2471
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
2472
* def mystorage = Java.type('storage.DataStorage')
1
2473
* def db = new mystorage
1
2474
* def db = db.setfeature(karate.info.featureFileName)
1
2475
* def separator = java.lang.System.getProperty("file.separator")
1
2476
* def outputpath = db.outputpath()
1
2477
* eval db.ensureDirectory(outputpath)
1
2478
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2479
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2480
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2481
Given path 'geonetwork/srv/dut/inspire'
0
2482
And param service = 'CSW'
0
2483
And param version = '2.0.2'
0
2484
And param request = 'GetRecordById'
0
2485
And param id = 'd981070b-888c-42d5-85ff-1e383f3d7fce'
0
2486
And param elementsetname = 'full'
0
2487
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2488
When method get
278
2489
Then status 200
0
2490
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd981070b-888c-42d5-85ff-1e383f3d7fce'
1
2491
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2492
* def title = get response //citation/CI_Citation/title/CharacterString
0
2493
* def email = get response //electronicMailAddress/CharacterString
0
2494
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2495
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2496
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2497
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2498
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2499
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2500
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
2501
* print connectUrl
0
15:15:16.248 [print] https://geodata.nationaalgeoregister.nl/windkaart/wms?request=GetCapabilities
2502
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2503
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2504
* print organisationpath
0
15:15:16.249 [print] Beheer PDOK
2505
* print operateson
0
15:15:16.249 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=d845cef6-0e23-4212-a951-b69763e39ef0#MD_DataIdentification
2506
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2507
* eval db.writeln('"d981070b-888c-42d5-85ff-1e383f3d7fce","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
2508
* eval db.writeln('"d981070b-888c-42d5-85ff-1e383f3d7fce","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.67:18]f1dadc2c-6de2-415a-a2b7-aaf057ddda43
ms: 326
>>
Background:
2509
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
2510
* def mystorage = Java.type('storage.DataStorage')
1
2511
* def db = new mystorage
1
2512
* def db = db.setfeature(karate.info.featureFileName)
1
2513
* def separator = java.lang.System.getProperty("file.separator")
1
2514
* def outputpath = db.outputpath()
1
2515
* eval db.ensureDirectory(outputpath)
1
2516
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2517
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2518
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2519
Given path 'geonetwork/srv/dut/inspire'
1
2520
And param service = 'CSW'
0
2521
And param version = '2.0.2'
0
2522
And param request = 'GetRecordById'
0
2523
And param id = 'f1dadc2c-6de2-415a-a2b7-aaf057ddda43'
0
2524
And param elementsetname = 'full'
0
2525
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2526
When method get
315
2527
Then status 200
0
2528
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f1dadc2c-6de2-415a-a2b7-aaf057ddda43'
1
2529
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2530
* def title = get response //citation/CI_Citation/title/CharacterString
0
2531
* def email = get response //electronicMailAddress/CharacterString
0
2532
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2533
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2534
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2535
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2536
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2537
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2538
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
2539
* print connectUrl
0
15:15:16.306 [print] https://geodata.nationaalgeoregister.nl/inspireadressen/v2/wms?request=GetCapabilities
2540
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2541
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2542
* print organisationpath
0
15:15:16.307 [print] Beheer PDOK
2543
* print operateson
0
15:15:16.307 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=76091be7-358a-4a44-8182-b4139c96c6a4#MD_DataIdentification
2544
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2545
* eval db.writeln('"f1dadc2c-6de2-415a-a2b7-aaf057ddda43","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2546
* eval db.writeln('"f1dadc2c-6de2-415a-a2b7-aaf057ddda43","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.68:18]3dc373ae-fcf6-49c9-b315-9a2178bffe4a
ms: 297
>>
Background:
2547
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
2548
* def mystorage = Java.type('storage.DataStorage')
1
2549
* def db = new mystorage
1
2550
* def db = db.setfeature(karate.info.featureFileName)
1
2551
* def separator = java.lang.System.getProperty("file.separator")
1
2552
* def outputpath = db.outputpath()
1
2553
* eval db.ensureDirectory(outputpath)
1
2554
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2555
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2556
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2557
Given path 'geonetwork/srv/dut/inspire'
0
2558
And param service = 'CSW'
0
2559
And param version = '2.0.2'
0
2560
And param request = 'GetRecordById'
0
2561
And param id = '3dc373ae-fcf6-49c9-b315-9a2178bffe4a'
1
2562
And param elementsetname = 'full'
0
2563
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2564
When method get
283
2565
Then status 200
0
2566
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3dc373ae-fcf6-49c9-b315-9a2178bffe4a'
1
2567
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2568
* def title = get response //citation/CI_Citation/title/CharacterString
0
2569
* def email = get response //electronicMailAddress/CharacterString
1
2570
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2571
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2572
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2573
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2574
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2575
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2576
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
2577
* print connectUrl
2
15:15:16.440 [print] https://geodata.nationaalgeoregister.nl/restwarmte/wms?request=GetCapabilities
2578
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2579
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2580
* print organisationpath
0
15:15:16.441 [print] Beheer PDOK
2581
* print operateson
0
15:15:16.441 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=d6b85d84-cdb9-4a6e-b799-cf8826e22a94#MD_DataIdentification
2582
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2583
* eval db.writeln('"3dc373ae-fcf6-49c9-b315-9a2178bffe4a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2584
* eval db.writeln('"3dc373ae-fcf6-49c9-b315-9a2178bffe4a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.69:18]755d488b-7b94-4883-95be-6aa279604f85
ms: 300
>>
Background:
2585
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
2586
* def mystorage = Java.type('storage.DataStorage')
1
2587
* def db = new mystorage
1
2588
* def db = db.setfeature(karate.info.featureFileName)
1
2589
* def separator = java.lang.System.getProperty("file.separator")
1
2590
* def outputpath = db.outputpath()
1
2591
* eval db.ensureDirectory(outputpath)
1
2592
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2593
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2594
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2595
Given path 'geonetwork/srv/dut/inspire'
0
2596
And param service = 'CSW'
0
2597
And param version = '2.0.2'
0
2598
And param request = 'GetRecordById'
0
2599
And param id = '755d488b-7b94-4883-95be-6aa279604f85'
1
2600
And param elementsetname = 'full'
0
2601
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2602
When method get
287
2603
Then status 200
0
2604
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '755d488b-7b94-4883-95be-6aa279604f85'
1
2605
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2606
* def title = get response //citation/CI_Citation/title/CharacterString
1
2607
* def email = get response //electronicMailAddress/CharacterString
1
2608
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2609
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2610
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2611
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2612
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2613
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2614
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
2615
* print connectUrl
0
15:15:16.537 [print] https://inspire.rivm.nl/geoserver/wms?request=GetCapabilities
2616
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2617
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2618
* print organisationpath
0
15:15:16.538 [print] Rijksinstituut voor Volksgezondheid en Milieu
2619
* print operateson
0
15:15:16.538 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=36a7e8cb-8300-4602-93d2-135943365a6f#MD_DataIdentification
2620
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2621
* eval db.writeln('"755d488b-7b94-4883-95be-6aa279604f85","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2622
* eval db.writeln('"755d488b-7b94-4883-95be-6aa279604f85","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.70:18]2d1860f2-f8ba-457e-bd64-93cdabd69aee
ms: 338
>>
Background:
2623
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
2624
* def mystorage = Java.type('storage.DataStorage')
1
2625
* def db = new mystorage
1
2626
* def db = db.setfeature(karate.info.featureFileName)
1
2627
* def separator = java.lang.System.getProperty("file.separator")
1
2628
* def outputpath = db.outputpath()
1
2629
* eval db.ensureDirectory(outputpath)
1
2630
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2631
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2632
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2633
Given path 'geonetwork/srv/dut/inspire'
0
2634
And param service = 'CSW'
0
2635
And param version = '2.0.2'
0
2636
And param request = 'GetRecordById'
0
2637
And param id = '2d1860f2-f8ba-457e-bd64-93cdabd69aee'
1
2638
And param elementsetname = 'full'
0
2639
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2640
When method get
327
2641
Then status 200
0
2642
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2d1860f2-f8ba-457e-bd64-93cdabd69aee'
1
2643
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2644
* def title = get response //citation/CI_Citation/title/CharacterString
1
2645
* def email = get response //electronicMailAddress/CharacterString
0
2646
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
2647
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2648
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2649
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2650
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2651
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2652
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
2653
* print connectUrl
0
15:15:16.588 [print] https://inspire.caris.nl/geoserver/auwms/wms?request=GetCapabilities&service=WMS&version=1.3.0
2654
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2655
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2656
* print organisationpath
0
15:15:16.588 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
2657
* print operateson
0
15:15:16.589 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4cda487b-c467-490c-a843-6563fec016be#MD_DataIdentification
2658
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2659
* eval db.writeln('"2d1860f2-f8ba-457e-bd64-93cdabd69aee","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2660
* eval db.writeln('"2d1860f2-f8ba-457e-bd64-93cdabd69aee","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.71:18]3094a1c4-3dd6-4e8e-9929-4a63dd66992e
ms: 314
>>
Background:
2661
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
2662
* def mystorage = Java.type('storage.DataStorage')
1
2663
* def db = new mystorage
1
2664
* def db = db.setfeature(karate.info.featureFileName)
1
2665
* def separator = java.lang.System.getProperty("file.separator")
1
2666
* def outputpath = db.outputpath()
1
2667
* eval db.ensureDirectory(outputpath)
1
2668
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2669
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2670
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2671
Given path 'geonetwork/srv/dut/inspire'
1
2672
And param service = 'CSW'
0
2673
And param version = '2.0.2'
0
2674
And param request = 'GetRecordById'
0
2675
And param id = '3094a1c4-3dd6-4e8e-9929-4a63dd66992e'
1
2676
And param elementsetname = 'full'
0
2677
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2678
When method get
300
2679
Then status 200
0
2680
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3094a1c4-3dd6-4e8e-9929-4a63dd66992e'
1
2681
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2682
* def title = get response //citation/CI_Citation/title/CharacterString
0
2683
* def email = get response //electronicMailAddress/CharacterString
0
2684
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2685
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2686
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2687
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
2688
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2689
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2690
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
2691
* print connectUrl
0
15:15:16.619 [print] http://services.inspire-provincies.nl/ProductionAndIndustrialFacilities/services/download_PF?request=GetCapabilities
2692
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2693
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2694
* print organisationpath
0
15:15:16.620 [print] Interprovinciaal Overleg
2695
* print operateson
0
15:15:16.620 [print] [
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=8e986f37-74d7-4b6c-8026-87c960456423&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification",
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=afc450bd-65b3-4e59-b0fb-619869bf6ada&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification"
]
2696
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
2697
* eval db.writeln('"3094a1c4-3dd6-4e8e-9929-4a63dd66992e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2698
* eval db.writeln('"3094a1c4-3dd6-4e8e-9929-4a63dd66992e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.72:18]2f12ef7d-3eb4-46a9-8b45-702a0f054d57
ms: 304
>>
Background:
2699
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
2700
* def mystorage = Java.type('storage.DataStorage')
1
2701
* def db = new mystorage
1
2702
* def db = db.setfeature(karate.info.featureFileName)
1
2703
* def separator = java.lang.System.getProperty("file.separator")
1
2704
* def outputpath = db.outputpath()
1
2705
* eval db.ensureDirectory(outputpath)
1
2706
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2707
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2708
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2709
Given path 'geonetwork/srv/dut/inspire'
1
2710
And param service = 'CSW'
0
2711
And param version = '2.0.2'
0
2712
And param request = 'GetRecordById'
0
2713
And param id = '2f12ef7d-3eb4-46a9-8b45-702a0f054d57'
1
2714
And param elementsetname = 'full'
0
2715
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2716
When method get
281
2717
Then status 200
0
2718
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2f12ef7d-3eb4-46a9-8b45-702a0f054d57'
1
2719
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2720
* def title = get response //citation/CI_Citation/title/CharacterString
1
2721
* def email = get response //electronicMailAddress/CharacterString
1
2722
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2723
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2724
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2725
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
2726
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
2727
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
2728
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
2729
* print connectUrl
0
15:15:16.736 [print] https://geodata.nationaalgeoregister.nl/inspire/sr/wfs?request=GetCapabilities
2730
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
2731
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2732
* print organisationpath
0
15:15:16.737 [print] Beheer PDOK
2733
* print operateson
0
15:15:16.737 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=791adbe3-772f-42cb-a3be-5a617bcecef0#MD_DataIdentification
2734
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
2735
* eval db.writeln('"2f12ef7d-3eb4-46a9-8b45-702a0f054d57","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
4
2736
* eval db.writeln('"2f12ef7d-3eb4-46a9-8b45-702a0f054d57","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
8
Scenario Outline: [1.73:18]b7880739-a701-4cc0-bb32-2bba61fa8924
ms: 283
>>
Background:
2737
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
2738
* def mystorage = Java.type('storage.DataStorage')
1
2739
* def db = new mystorage
1
2740
* def db = db.setfeature(karate.info.featureFileName)
1
2741
* def separator = java.lang.System.getProperty("file.separator")
1
2742
* def outputpath = db.outputpath()
1
2743
* eval db.ensureDirectory(outputpath)
1
2744
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2745
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2746
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2747
Given path 'geonetwork/srv/dut/inspire'
1
2748
And param service = 'CSW'
0
2749
And param version = '2.0.2'
0
2750
And param request = 'GetRecordById'
0
2751
And param id = 'b7880739-a701-4cc0-bb32-2bba61fa8924'
1
2752
And param elementsetname = 'full'
0
2753
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2754
When method get
272
2755
Then status 200
0
2756
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b7880739-a701-4cc0-bb32-2bba61fa8924'
1
2757
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2758
* def title = get response //citation/CI_Citation/title/CharacterString
1
2759
* def email = get response //electronicMailAddress/CharacterString
0
2760
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2761
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
2762
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2763
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2764
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2765
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2766
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
2767
* print connectUrl
0
15:15:16.821 [print] https://www.broinspireservices.nl/arcgis/services/inspire/inspire_awp/MapServer/WMSServer?request=GetCapabilities&service=WMS
2768
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2769
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2770
* print organisationpath
0
15:15:16.822 [print] TNO Geologische Dienst Nederland
2771
* print operateson
0
15:15:16.822 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=11a292bd-9022-4a9f-b1bf-02f5c89ad74a&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
2772
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2773
* eval db.writeln('"b7880739-a701-4cc0-bb32-2bba61fa8924","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2774
* eval db.writeln('"b7880739-a701-4cc0-bb32-2bba61fa8924","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.74:18]4041f923-6b77-4816-bf46-437e85416c31
ms: 290
>>
Background:
2775
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
2776
* def mystorage = Java.type('storage.DataStorage')
1
2777
* def db = new mystorage
1
2778
* def db = db.setfeature(karate.info.featureFileName)
1
2779
* def separator = java.lang.System.getProperty("file.separator")
1
2780
* def outputpath = db.outputpath()
1
2781
* eval db.ensureDirectory(outputpath)
1
2782
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2783
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2784
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2785
Given path 'geonetwork/srv/dut/inspire'
1
2786
And param service = 'CSW'
0
2787
And param version = '2.0.2'
0
2788
And param request = 'GetRecordById'
0
2789
And param id = '4041f923-6b77-4816-bf46-437e85416c31'
1
2790
And param elementsetname = 'full'
0
2791
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2792
When method get
276
2793
Then status 200
0
2794
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4041f923-6b77-4816-bf46-437e85416c31'
1
2795
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2796
* def title = get response //citation/CI_Citation/title/CharacterString
1
2797
* def email = get response //electronicMailAddress/CharacterString
1
2798
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2799
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2800
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2801
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
2802
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
2803
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
2804
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
2805
* print connectUrl
0
15:15:16.878 [print] https://geodata.nationaalgeoregister.nl/rws/kaderrichtlijnmarienestrategie2018/wms/v1_0?SERVICE=WMS&REQUEST=GetCapabilities
2806
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
2807
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2808
* print organisationpath
0
15:15:16.879 [print] Beheer PDOK
2809
* print operateson
0
15:15:16.879 [print] [
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krm-a905-9d8e-4758-83fa-28b057f185e4#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krm-a905-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification"
]
2810
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
2811
* eval db.writeln('"4041f923-6b77-4816-bf46-437e85416c31","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2812
* eval db.writeln('"4041f923-6b77-4816-bf46-437e85416c31","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.75:18]wt-3730-e750-485a-9c0c-39bf9bf72cf9
ms: 294
>>
Background:
2813
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
2814
* def mystorage = Java.type('storage.DataStorage')
1
2815
* def db = new mystorage
1
2816
* def db = db.setfeature(karate.info.featureFileName)
1
2817
* def separator = java.lang.System.getProperty("file.separator")
1
2818
* def outputpath = db.outputpath()
1
2819
* eval db.ensureDirectory(outputpath)
1
2820
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2821
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2822
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2823
Given path 'geonetwork/srv/dut/inspire'
0
2824
And param service = 'CSW'
0
2825
And param version = '2.0.2'
0
2826
And param request = 'GetRecordById'
0
2827
And param id = 'wt-3730-e750-485a-9c0c-39bf9bf72cf9'
0
2828
And param elementsetname = 'full'
0
2829
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2830
When method get
281
2831
Then status 200
0
2832
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-3730-e750-485a-9c0c-39bf9bf72cf9'
1
2833
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2834
* def title = get response //citation/CI_Citation/title/CharacterString
1
2835
* def email = get response //electronicMailAddress/CharacterString
1
2836
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2837
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2838
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2839
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2840
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2841
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2842
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
2843
* print connectUrl
0
15:15:16.914 [print] https://haleconnect.com/ows/services/org.292.5458b0b7-4aef-467a-b646-e76d966bcfc1_wfs?service=WFS&version=2.0.0&request=GetCapabilities
2844
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
2845
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2846
* print organisationpath
0
15:15:16.917 [print] Rijkswaterstaat
2847
* print operateson
0
15:15:16.917 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?SERVICE=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-3730-e750-485a-9c0c-39bf9be72cf9#MD_DataIdentification
2848
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
2849
* eval db.writeln('"wt-3730-e750-485a-9c0c-39bf9bf72cf9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2850
* eval db.writeln('"wt-3730-e750-485a-9c0c-39bf9bf72cf9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.76:18]d467c2cc-4026-b80a-d4e1a9d2bf79
ms: 302
>>
Background:
2851
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
2852
* def mystorage = Java.type('storage.DataStorage')
1
2853
* def db = new mystorage
1
2854
* def db = db.setfeature(karate.info.featureFileName)
1
2855
* def separator = java.lang.System.getProperty("file.separator")
1
2856
* def outputpath = db.outputpath()
1
2857
* eval db.ensureDirectory(outputpath)
1
2858
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2859
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2860
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2861
Given path 'geonetwork/srv/dut/inspire'
1
2862
And param service = 'CSW'
0
2863
And param version = '2.0.2'
0
2864
And param request = 'GetRecordById'
0
2865
And param id = 'd467c2cc-4026-b80a-d4e1a9d2bf79'
1
2866
And param elementsetname = 'full'
0
2867
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2868
When method get
288
2869
Then status 200
0
2870
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd467c2cc-4026-b80a-d4e1a9d2bf79'
1
2871
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2872
* def title = get response //citation/CI_Citation/title/CharacterString
1
2873
* def email = get response //electronicMailAddress/CharacterString
1
2874
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2875
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2876
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2877
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
2878
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
2879
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2880
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
2881
* print connectUrl
0
15:15:17.051 [print] https://geodata.nationaalgeoregister.nl/nl/rws/hy-n/wfs?request=GetCapabilities&service=WFS
2882
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2883
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2884
* print organisationpath
0
15:15:17.052 [print] Beheer PDOK
2885
* print operateson
0
15:15:17.053 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification
2886
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
2887
* eval db.writeln('"d467c2cc-4026-b80a-d4e1a9d2bf79","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2888
* eval db.writeln('"d467c2cc-4026-b80a-d4e1a9d2bf79","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.77:18]ec73f245-66ce-4144-ac27-5966c80a4b3a
ms: 313
>>
Background:
2889
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
2890
* def mystorage = Java.type('storage.DataStorage')
1
2891
* def db = new mystorage
1
2892
* def db = db.setfeature(karate.info.featureFileName)
1
2893
* def separator = java.lang.System.getProperty("file.separator")
1
2894
* def outputpath = db.outputpath()
1
2895
* eval db.ensureDirectory(outputpath)
1
2896
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2897
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2898
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2899
Given path 'geonetwork/srv/dut/inspire'
1
2900
And param service = 'CSW'
0
2901
And param version = '2.0.2'
0
2902
And param request = 'GetRecordById'
0
2903
And param id = 'ec73f245-66ce-4144-ac27-5966c80a4b3a'
1
2904
And param elementsetname = 'full'
0
2905
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2906
When method get
300
2907
Then status 200
0
2908
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ec73f245-66ce-4144-ac27-5966c80a4b3a'
1
2909
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2910
* def title = get response //citation/CI_Citation/title/CharacterString
1
2911
* def email = get response //electronicMailAddress/CharacterString
1
2912
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2913
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2914
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2915
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2916
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2917
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2918
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
2919
* print connectUrl
0
15:15:17.134 [print] https://geodata.nationaalgeoregister.nl/inspire/tn-w/wfs?request=GetCapabilities
2920
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2921
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2922
* print organisationpath
0
15:15:17.136 [print] Beheer PDOK
2923
* print operateson
0
15:15:17.136 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=5951efa2-1ff3-4763-a966-a2f5497679ee#MD_DataIdentification
2924
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
2925
* eval db.writeln('"ec73f245-66ce-4144-ac27-5966c80a4b3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2926
* eval db.writeln('"ec73f245-66ce-4144-ac27-5966c80a4b3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.78:18]32655f4b-551b-42c8-b071-95738d0f5daa
ms: 316
>>
Background:
2927
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
2928
* def mystorage = Java.type('storage.DataStorage')
1
2929
* def db = new mystorage
1
2930
* def db = db.setfeature(karate.info.featureFileName)
1
2931
* def separator = java.lang.System.getProperty("file.separator")
1
2932
* def outputpath = db.outputpath()
1
2933
* eval db.ensureDirectory(outputpath)
1
2934
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2935
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2936
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2937
Given path 'geonetwork/srv/dut/inspire'
0
2938
And param service = 'CSW'
0
2939
And param version = '2.0.2'
0
2940
And param request = 'GetRecordById'
0
2941
And param id = '32655f4b-551b-42c8-b071-95738d0f5daa'
1
2942
And param elementsetname = 'full'
0
2943
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2944
When method get
279
2945
Then status 200
0
2946
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '32655f4b-551b-42c8-b071-95738d0f5daa'
1
2947
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2948
* def title = get response //citation/CI_Citation/title/CharacterString
1
2949
* def email = get response //electronicMailAddress/CharacterString
1
2950
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2951
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2952
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2953
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2954
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2955
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
2956
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
2957
* print connectUrl
0
15:15:17.171 [print] https://geodata.nationaalgeoregister.nl/nl/rws/tn-cte/wfs?
2958
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2959
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
2960
* print organisationpath
0
15:15:17.172 [print] Beheer PDOK
2961
* print operateson
0
15:15:17.172 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-cb527d-f6db-4835-b0cd-deb245241254
2962
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
25
2963
* eval db.writeln('"32655f4b-551b-42c8-b071-95738d0f5daa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
2964
* eval db.writeln('"32655f4b-551b-42c8-b071-95738d0f5daa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.79:18]3e65fa1b-9bb1-41bd-9760-76962751b839
ms: 306
>>
Background:
2965
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
2966
* def mystorage = Java.type('storage.DataStorage')
1
2967
* def db = new mystorage
1
2968
* def db = db.setfeature(karate.info.featureFileName)
1
2969
* def separator = java.lang.System.getProperty("file.separator")
1
2970
* def outputpath = db.outputpath()
1
2971
* eval db.ensureDirectory(outputpath)
1
2972
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
2973
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
2974
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
2975
Given path 'geonetwork/srv/dut/inspire'
0
2976
And param service = 'CSW'
0
2977
And param version = '2.0.2'
0
2978
And param request = 'GetRecordById'
0
2979
And param id = '3e65fa1b-9bb1-41bd-9760-76962751b839'
1
2980
And param elementsetname = 'full'
0
2981
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
2982
When method get
295
2983
Then status 200
0
2984
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3e65fa1b-9bb1-41bd-9760-76962751b839'
1
2985
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
2986
* def title = get response //citation/CI_Citation/title/CharacterString
0
2987
* def email = get response //electronicMailAddress/CharacterString
0
2988
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
2989
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
2990
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
2991
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
2992
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
2993
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
2994
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
2995
* print connectUrl
0
15:15:17.223 [print] https://geodata.nationaalgeoregister.nl/rws/verkeersscheidingsstelsel/wms/v2_0?service=WMS&request=getcapabilities
2996
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
2997
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
2998
* print organisationpath
0
15:15:17.224 [print] Beheer PDOK
2999
* print operateson
0
15:15:17.224 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=5996e444-f7f3-40d2-b485-8b9af6e8aa89#MD_DataIdentification
3000
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3001
* eval db.writeln('"3e65fa1b-9bb1-41bd-9760-76962751b839","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
3002
* eval db.writeln('"3e65fa1b-9bb1-41bd-9760-76962751b839","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.80:18]7827b68f-647e-46cc-a02a-cac48eaa5dda
ms: 277
>>
Background:
3003
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
3004
* def mystorage = Java.type('storage.DataStorage')
1
3005
* def db = new mystorage
1
3006
* def db = db.setfeature(karate.info.featureFileName)
1
3007
* def separator = java.lang.System.getProperty("file.separator")
1
3008
* def outputpath = db.outputpath()
1
3009
* eval db.ensureDirectory(outputpath)
1
3010
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3011
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3012
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3013
Given path 'geonetwork/srv/dut/inspire'
0
3014
And param service = 'CSW'
0
3015
And param version = '2.0.2'
0
3016
And param request = 'GetRecordById'
0
3017
And param id = '7827b68f-647e-46cc-a02a-cac48eaa5dda'
1
3018
And param elementsetname = 'full'
0
3019
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3020
When method get
266
3021
Then status 200
0
3022
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7827b68f-647e-46cc-a02a-cac48eaa5dda'
1
3023
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3024
* def title = get response //citation/CI_Citation/title/CharacterString
0
3025
* def email = get response //electronicMailAddress/CharacterString
0
3026
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3027
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3028
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3029
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3030
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3031
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3032
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
3033
* print connectUrl
0
15:15:17.329 [print] https://geodata.nationaalgeoregister.nl/ienw/geluidskaartschipholnacht/v2/wfs?request=GetCapabilities
3034
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3035
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3036
* print organisationpath
0
15:15:17.330 [print] Beheer PDOK
3037
* print operateson
0
15:15:17.330 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=58d39928-f502-48c9-a8c1-03244dc181bf#MD_DataIdentification
3038
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
3039
* eval db.writeln('"7827b68f-647e-46cc-a02a-cac48eaa5dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3040
* eval db.writeln('"7827b68f-647e-46cc-a02a-cac48eaa5dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.81:18]c6fa88ab-e440-414b-a773-793c4ce6d8df
ms: 298
>>
Background:
3041
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
3042
* def mystorage = Java.type('storage.DataStorage')
1
3043
* def db = new mystorage
1
3044
* def db = db.setfeature(karate.info.featureFileName)
1
3045
* def separator = java.lang.System.getProperty("file.separator")
1
3046
* def outputpath = db.outputpath()
1
3047
* eval db.ensureDirectory(outputpath)
1
3048
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3049
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3050
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3051
Given path 'geonetwork/srv/dut/inspire'
0
3052
And param service = 'CSW'
0
3053
And param version = '2.0.2'
0
3054
And param request = 'GetRecordById'
0
3055
And param id = 'c6fa88ab-e440-414b-a773-793c4ce6d8df'
0
3056
And param elementsetname = 'full'
0
3057
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3058
When method get
284
3059
Then status 200
0
3060
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c6fa88ab-e440-414b-a773-793c4ce6d8df'
1
3061
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3062
* def title = get response //citation/CI_Citation/title/CharacterString
1
3063
* def email = get response //electronicMailAddress/CharacterString
1
3064
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3065
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3066
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3067
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
3068
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
3069
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
3070
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
3071
* print connectUrl
0
15:15:17.433 [print] https://geodata.nationaalgeoregister.nl/bestuurlijkegrenzen/wms?request=GetCapabilities
3072
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
3073
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3074
* print organisationpath
0
15:15:17.434 [print] Beheer PDOK
3075
* print operateson
0
15:15:17.434 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c5c4a6d6-b850-473c-8ab5-af9c2c550809#MD_DataIdentification
3076
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
3077
* eval db.writeln('"c6fa88ab-e440-414b-a773-793c4ce6d8df","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3078
* eval db.writeln('"c6fa88ab-e440-414b-a773-793c4ce6d8df","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.82:18]9c4862c3-0bab-49c3-bc2f-ac5486826766
ms: 365
>>
Background:
3079
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
3080
* def mystorage = Java.type('storage.DataStorage')
1
3081
* def db = new mystorage
1
3082
* def db = db.setfeature(karate.info.featureFileName)
1
3083
* def separator = java.lang.System.getProperty("file.separator")
1
3084
* def outputpath = db.outputpath()
1
3085
* eval db.ensureDirectory(outputpath)
1
3086
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3087
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3088
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3089
Given path 'geonetwork/srv/dut/inspire'
0
3090
And param service = 'CSW'
0
3091
And param version = '2.0.2'
0
3092
And param request = 'GetRecordById'
0
3093
And param id = '9c4862c3-0bab-49c3-bc2f-ac5486826766'
0
3094
And param elementsetname = 'full'
0
3095
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3096
When method get
323
3097
Then status 200
0
3098
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9c4862c3-0bab-49c3-bc2f-ac5486826766'
3
3099
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
3
3100
* def title = get response //citation/CI_Citation/title/CharacterString
3
3101
* def email = get response //electronicMailAddress/CharacterString
3
3102
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
4
3103
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
5
3104
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3105
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
2
3106
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
2
3107
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
2
3108
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
3109
* print connectUrl
0
15:15:17.553 [print] https://geodata.nationaalgeoregister.nl/habitatrichtlijnverspreidingsoorten/v2/wfs?request=GetCapabilities
3110
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
2
3111
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
4
3112
* print organisationpath
0
15:15:17.559 [print] Beheer PDOK
3113
* print operateson
0
15:15:17.559 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=28c4780a-1a44-4376-b283-14a50a481729#MD_DataIdentification
3114
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
3
3115
* eval db.writeln('"9c4862c3-0bab-49c3-bc2f-ac5486826766","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
3116
* eval db.writeln('"9c4862c3-0bab-49c3-bc2f-ac5486826766","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.83:18]7e87a655-c4eb-404d-9d0a-efa2dccef7cc
ms: 314
>>
Background:
3117
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
3118
* def mystorage = Java.type('storage.DataStorage')
1
3119
* def db = new mystorage
1
3120
* def db = db.setfeature(karate.info.featureFileName)
1
3121
* def separator = java.lang.System.getProperty("file.separator")
1
3122
* def outputpath = db.outputpath()
1
3123
* eval db.ensureDirectory(outputpath)
1
3124
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3125
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3126
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3127
Given path 'geonetwork/srv/dut/inspire'
0
3128
And param service = 'CSW'
0
3129
And param version = '2.0.2'
0
3130
And param request = 'GetRecordById'
0
3131
And param id = '7e87a655-c4eb-404d-9d0a-efa2dccef7cc'
0
3132
And param elementsetname = 'full'
0
3133
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3134
When method get
302
3135
Then status 200
0
3136
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7e87a655-c4eb-404d-9d0a-efa2dccef7cc'
1
3137
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3138
* def title = get response //citation/CI_Citation/title/CharacterString
0
3139
* def email = get response //electronicMailAddress/CharacterString
0
3140
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3141
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3142
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3143
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3144
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3145
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
3146
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
3147
* print connectUrl
0
15:15:17.536 [print] https://geodata.nationaalgeoregister.nl/inspire/gn/wfs?&request=GetCapabilities&service=WFS
3148
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
3149
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3150
* print organisationpath
0
15:15:17.538 [print] Beheer PDOK
3151
* print operateson
0
15:15:17.538 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=1a40eb6f-4f33-4e15-a0b1-2d350ad2636e#MD_DataIdentification
3152
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3153
* eval db.writeln('"7e87a655-c4eb-404d-9d0a-efa2dccef7cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
3154
* eval db.writeln('"7e87a655-c4eb-404d-9d0a-efa2dccef7cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.84:18]a035801a-3256-4a36-9f81-02421aacee17
ms: 304
>>
Background:
3155
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
3156
* def mystorage = Java.type('storage.DataStorage')
1
3157
* def db = new mystorage
1
3158
* def db = db.setfeature(karate.info.featureFileName)
1
3159
* def separator = java.lang.System.getProperty("file.separator")
1
3160
* def outputpath = db.outputpath()
1
3161
* eval db.ensureDirectory(outputpath)
1
3162
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3163
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3164
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3165
Given path 'geonetwork/srv/dut/inspire'
1
3166
And param service = 'CSW'
0
3167
And param version = '2.0.2'
0
3168
And param request = 'GetRecordById'
0
3169
And param id = 'a035801a-3256-4a36-9f81-02421aacee17'
0
3170
And param elementsetname = 'full'
0
3171
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3172
When method get
291
3173
Then status 200
0
3174
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a035801a-3256-4a36-9f81-02421aacee17'
1
3175
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3176
* def title = get response //citation/CI_Citation/title/CharacterString
1
3177
* def email = get response //electronicMailAddress/CharacterString
0
3178
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3179
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3180
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3181
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
3182
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3183
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3184
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
3185
* print connectUrl
0
15:15:17.633 [print] https://geodata.nationaalgeoregister.nl/wijkenbuurten2018/wms?request=GetCapabilities
3186
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3187
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3188
* print organisationpath
0
15:15:17.634 [print] Beheer PDOK
3189
* print operateson
0
15:15:17.634 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=ffefc3dc-dc8f-4589-ae22-a60bebcdf5cb#MD_DataIdentification
3190
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3191
* eval db.writeln('"a035801a-3256-4a36-9f81-02421aacee17","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3192
* eval db.writeln('"a035801a-3256-4a36-9f81-02421aacee17","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.85:18]6ff5af41-4cb0-406a-a77c-a4cf4223cbc7
ms: 296
>>
Background:
3193
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
3194
* def mystorage = Java.type('storage.DataStorage')
1
3195
* def db = new mystorage
1
3196
* def db = db.setfeature(karate.info.featureFileName)
1
3197
* def separator = java.lang.System.getProperty("file.separator")
1
3198
* def outputpath = db.outputpath()
1
3199
* eval db.ensureDirectory(outputpath)
1
3200
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3201
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3202
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3203
Given path 'geonetwork/srv/dut/inspire'
0
3204
And param service = 'CSW'
0
3205
And param version = '2.0.2'
0
3206
And param request = 'GetRecordById'
0
3207
And param id = '6ff5af41-4cb0-406a-a77c-a4cf4223cbc7'
0
3208
And param elementsetname = 'full'
0
3209
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3210
When method get
279
3211
Then status 200
0
3212
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6ff5af41-4cb0-406a-a77c-a4cf4223cbc7'
1
3213
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3214
* def title = get response //citation/CI_Citation/title/CharacterString
2
3215
* def email = get response //electronicMailAddress/CharacterString
1
3216
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3217
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3218
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3219
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
3220
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3221
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3222
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
3223
* print connectUrl
0
15:15:17.728 [print] https://geodata.nationaalgeoregister.nl/wijkenbuurten2016/wfs?request=GetCapabilities
3224
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3225
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3226
* print organisationpath
0
15:15:17.729 [print] Beheer PDOK
3227
* print operateson
0
15:15:17.730 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6cde2ce7-3ecd-4785-b7b8-d62c3381efe9#MD_DataIdentification
3228
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
3229
* eval db.writeln('"6ff5af41-4cb0-406a-a77c-a4cf4223cbc7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3230
* eval db.writeln('"6ff5af41-4cb0-406a-a77c-a4cf4223cbc7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.86:18]wt-3730-e750-485a-9c0c-39bf9bm72cf9
ms: 292
>>
Background:
3231
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
3232
* def mystorage = Java.type('storage.DataStorage')
1
3233
* def db = new mystorage
1
3234
* def db = db.setfeature(karate.info.featureFileName)
1
3235
* def separator = java.lang.System.getProperty("file.separator")
1
3236
* def outputpath = db.outputpath()
1
3237
* eval db.ensureDirectory(outputpath)
1
3238
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3239
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3240
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3241
Given path 'geonetwork/srv/dut/inspire'
0
3242
And param service = 'CSW'
0
3243
And param version = '2.0.2'
0
3244
And param request = 'GetRecordById'
0
3245
And param id = 'wt-3730-e750-485a-9c0c-39bf9bm72cf9'
0
3246
And param elementsetname = 'full'
0
3247
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3248
When method get
276
3249
Then status 200
0
3250
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-3730-e750-485a-9c0c-39bf9bm72cf9'
1
3251
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3252
* def title = get response //citation/CI_Citation/title/CharacterString
1
3253
* def email = get response //electronicMailAddress/CharacterString
1
3254
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3255
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3256
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3257
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3258
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3259
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
3260
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
3261
* print connectUrl
0
15:15:17.828 [print] https://haleconnect.com/ows/services/org.292.5458b0b7-4aef-467a-b646-e76d966bcfc1_wms?service=WMS&version=1.3.0&request=GetCapabilities
3262
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
3263
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3264
* print organisationpath
0
15:15:17.829 [print] Rijkswaterstaat
3265
* print operateson
1
15:15:17.830 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-3730-e750-485a-9c0c-39bf9be72cf9#MD_DataIdentification
3266
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3267
* eval db.writeln('"wt-3730-e750-485a-9c0c-39bf9bm72cf9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
3268
* eval db.writeln('"wt-3730-e750-485a-9c0c-39bf9bm72cf9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.87:18]bc0b75c6-3eef-49de-aca2-8483024903c1
ms: 299
>>
Background:
3269
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
3270
* def mystorage = Java.type('storage.DataStorage')
1
3271
* def db = new mystorage
1
3272
* def db = db.setfeature(karate.info.featureFileName)
1
3273
* def separator = java.lang.System.getProperty("file.separator")
1
3274
* def outputpath = db.outputpath()
1
3275
* eval db.ensureDirectory(outputpath)
1
3276
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3277
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3278
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3279
Given path 'geonetwork/srv/dut/inspire'
0
3280
And param service = 'CSW'
0
3281
And param version = '2.0.2'
0
3282
And param request = 'GetRecordById'
0
3283
And param id = 'bc0b75c6-3eef-49de-aca2-8483024903c1'
1
3284
And param elementsetname = 'full'
0
3285
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3286
When method get
286
3287
Then status 200
0
3288
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bc0b75c6-3eef-49de-aca2-8483024903c1'
1
3289
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3290
* def title = get response //citation/CI_Citation/title/CharacterString
0
3291
* def email = get response //electronicMailAddress/CharacterString
0
3292
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3293
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3294
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3295
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3296
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3297
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3298
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
3299
* print connectUrl
0
15:15:17.860 [print] https://geodata.nationaalgeoregister.nl/inspire/ps-rvo-wl/wfs?request=GetCapabilities
3300
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3301
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3302
* print organisationpath
0
15:15:17.861 [print] Beheer PDOK
3303
* print operateson
0
15:15:17.861 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=19165027-a13a-4c19-9013-ec1fd191019d#MD_DataIdentification
3304
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
3305
* eval db.writeln('"bc0b75c6-3eef-49de-aca2-8483024903c1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3306
* eval db.writeln('"bc0b75c6-3eef-49de-aca2-8483024903c1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.88:18]tn-2c7040b-c448-451b-bf15-f2416emaadd1
ms: 310
>>
Background:
3307
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
3308
* def mystorage = Java.type('storage.DataStorage')
1
3309
* def db = new mystorage
1
3310
* def db = db.setfeature(karate.info.featureFileName)
1
3311
* def separator = java.lang.System.getProperty("file.separator")
1
3312
* def outputpath = db.outputpath()
1
3313
* eval db.ensureDirectory(outputpath)
1
3314
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3315
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3316
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3317
Given path 'geonetwork/srv/dut/inspire'
1
3318
And param service = 'CSW'
0
3319
And param version = '2.0.2'
0
3320
And param request = 'GetRecordById'
0
3321
And param id = 'tn-2c7040b-c448-451b-bf15-f2416emaadd1'
0
3322
And param elementsetname = 'full'
0
3323
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3324
When method get
294
3325
Then status 200
0
3326
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'tn-2c7040b-c448-451b-bf15-f2416emaadd1'
1
3327
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3328
* def title = get response //citation/CI_Citation/title/CharacterString
1
3329
* def email = get response //electronicMailAddress/CharacterString
2
3330
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3331
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3332
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3333
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3334
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3335
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3336
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
3337
* print connectUrl
1
15:15:17.944 [print] https://haleconnect.com/ows/services/org.292.2885ef73-e044-4da4-b9b6-8a461a5353aa_wms?service=WMS&version=1.3.0&request=GetCapabilities
3338
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
3339
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3340
* print organisationpath
0
15:15:17.946 [print] Rijkswaterstaat
3341
* print operateson
0
15:15:17.946 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=eu-2c7040b-c448-451b-bf15-f2416ecaadd1#MD_DataIdentification
3342
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
3343
* eval db.writeln('"tn-2c7040b-c448-451b-bf15-f2416emaadd1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3344
* eval db.writeln('"tn-2c7040b-c448-451b-bf15-f2416emaadd1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.89:18]d7bc97fa-6b4a-4321-a7c4-cd621bc0be77
ms: 332
>>
Background:
3345
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
3346
* def mystorage = Java.type('storage.DataStorage')
1
3347
* def db = new mystorage
1
3348
* def db = db.setfeature(karate.info.featureFileName)
1
3349
* def separator = java.lang.System.getProperty("file.separator")
1
3350
* def outputpath = db.outputpath()
1
3351
* eval db.ensureDirectory(outputpath)
1
3352
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3353
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3354
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3355
Given path 'geonetwork/srv/dut/inspire'
1
3356
And param service = 'CSW'
0
3357
And param version = '2.0.2'
0
3358
And param request = 'GetRecordById'
0
3359
And param id = 'd7bc97fa-6b4a-4321-a7c4-cd621bc0be77'
1
3360
And param elementsetname = 'full'
0
3361
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3362
When method get
321
3363
Then status 200
0
3364
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd7bc97fa-6b4a-4321-a7c4-cd621bc0be77'
1
3365
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3366
* def title = get response //citation/CI_Citation/title/CharacterString
0
3367
* def email = get response //electronicMailAddress/CharacterString
0
3368
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3369
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3370
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3371
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3372
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3373
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3374
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
3375
* print connectUrl
0
15:15:18.066 [print] https://geodata.nationaalgeoregister.nl/inspire/cp/wfs?request=GetCapabilities
3376
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3377
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3378
* print organisationpath
0
15:15:18.067 [print] Beheer PDOK
3379
* print operateson
0
15:15:18.067 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e80ad426-1392-4349-9f80-14dae5f1bf57#MD_DataIdentification
3380
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3381
* eval db.writeln('"d7bc97fa-6b4a-4321-a7c4-cd621bc0be77","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3382
* eval db.writeln('"d7bc97fa-6b4a-4321-a7c4-cd621bc0be77","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.90:18]ca71572f-a498-4ca6-aa60-d4c4c4d59e2e
ms: 307
>>
Background:
3383
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
3384
* def mystorage = Java.type('storage.DataStorage')
1
3385
* def db = new mystorage
1
3386
* def db = db.setfeature(karate.info.featureFileName)
1
3387
* def separator = java.lang.System.getProperty("file.separator")
1
3388
* def outputpath = db.outputpath()
1
3389
* eval db.ensureDirectory(outputpath)
1
3390
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3391
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3392
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3393
Given path 'geonetwork/srv/dut/inspire'
0
3394
And param service = 'CSW'
0
3395
And param version = '2.0.2'
0
3396
And param request = 'GetRecordById'
0
3397
And param id = 'ca71572f-a498-4ca6-aa60-d4c4c4d59e2e'
1
3398
And param elementsetname = 'full'
0
3399
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3400
When method get
288
3401
Then status 200
0
3402
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ca71572f-a498-4ca6-aa60-d4c4c4d59e2e'
1
3403
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3404
* def title = get response //citation/CI_Citation/title/CharacterString
1
3405
* def email = get response //electronicMailAddress/CharacterString
1
3406
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3407
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3408
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3409
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
3410
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
3411
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3412
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
3413
* print connectUrl
0
15:15:18.132 [print] https://inspire.caris.nl/geoserver/gnwms/wms?request=GetCapabilities
3414
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3415
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3416
* print organisationpath
0
15:15:18.133 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
3417
* print operateson
0
15:15:18.133 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=34e95842-4e4e-46de-9198-79e8cd4d30dc#MD_DataIdentification
3418
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3419
* eval db.writeln('"ca71572f-a498-4ca6-aa60-d4c4c4d59e2e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3420
* eval db.writeln('"ca71572f-a498-4ca6-aa60-d4c4c4d59e2e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
9
Scenario Outline: [1.91:18]c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f
ms: 303
>>
Background:
3421
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
3422
* def mystorage = Java.type('storage.DataStorage')
1
3423
* def db = new mystorage
1
3424
* def db = db.setfeature(karate.info.featureFileName)
1
3425
* def separator = java.lang.System.getProperty("file.separator")
1
3426
* def outputpath = db.outputpath()
1
3427
* eval db.ensureDirectory(outputpath)
1
3428
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3429
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3430
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3431
Given path 'geonetwork/srv/dut/inspire'
0
3432
And param service = 'CSW'
0
3433
And param version = '2.0.2'
0
3434
And param request = 'GetRecordById'
0
3435
And param id = 'c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f'
1
3436
And param elementsetname = 'full'
0
3437
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3438
When method get
291
3439
Then status 200
0
3440
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f'
1
3441
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
3442
* def title = get response //citation/CI_Citation/title/CharacterString
0
3443
* def email = get response //electronicMailAddress/CharacterString
0
3444
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
3445
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3446
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3447
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3448
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3449
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3450
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
3451
* print connectUrl
0
15:15:18.162 [print] https://inspire.caris.nl/gs5/ProspectingAndMiningPermitArea/wms?service=WMS&version=1.3.0&request=GetCapabilities
3452
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3453
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3454
* print organisationpath
0
15:15:18.163 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
3455
* print operateson
0
15:15:18.163 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c2225e5d-b46f-4e38-8445-ab10fd40c0dc#MD_DataIdentification
3456
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3457
* eval db.writeln('"c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3458
* eval db.writeln('"c35c7421-f3ef-4bfb-afcc-ca15d03b8e6f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.92:18]c3ee15e4-38bf-4d54-9c0b-cfe0e609d448
ms: 302
>>
Background:
3459
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
3460
* def mystorage = Java.type('storage.DataStorage')
1
3461
* def db = new mystorage
1
3462
* def db = db.setfeature(karate.info.featureFileName)
1
3463
* def separator = java.lang.System.getProperty("file.separator")
1
3464
* def outputpath = db.outputpath()
1
3465
* eval db.ensureDirectory(outputpath)
1
3466
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3467
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3468
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3469
Given path 'geonetwork/srv/dut/inspire'
1
3470
And param service = 'CSW'
0
3471
And param version = '2.0.2'
0
3472
And param request = 'GetRecordById'
0
3473
And param id = 'c3ee15e4-38bf-4d54-9c0b-cfe0e609d448'
1
3474
And param elementsetname = 'full'
0
3475
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3476
When method get
288
3477
Then status 200
0
3478
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c3ee15e4-38bf-4d54-9c0b-cfe0e609d448'
1
3479
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3480
* def title = get response //citation/CI_Citation/title/CharacterString
1
3481
* def email = get response //electronicMailAddress/CharacterString
1
3482
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3483
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3484
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3485
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3486
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3487
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
3488
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
3489
* print connectUrl
0
15:15:18.247 [print] https://geodata.nationaalgeoregister.nl/ahn1/wms?request=GetCapabilities
3490
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3491
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3492
* print organisationpath
0
15:15:18.248 [print] Beheer PDOK
3493
* print operateson
0
15:15:18.248 [print] [
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=5a1adb58-0bbe-425d-b0fe-577a6c0a4228#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=b9dd8575-3c1c-41f4-add5-c4f5f2b67179#MD_DataIdentification",
"https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=00fd1fc4-c190-4fa6-a68f-606c64a16679#MD_DataIdentification",
"https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=00b0a2bf-57ce-44c9-b94c-f6c9a41f5c61#MD_DataIdentification",
"https://www.nationaalgeoregister.n/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=da237167-7f87-4310-ad64-614233de7a42#MD_DataIdentification"
]
3494
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
3495
* eval db.writeln('"c3ee15e4-38bf-4d54-9c0b-cfe0e609d448","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3496
* eval db.writeln('"c3ee15e4-38bf-4d54-9c0b-cfe0e609d448","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.93:18]ca9f6d28-b548-41dc-a862-52daa86d1834
ms: 298
>>
Background:
3497
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
3498
* def mystorage = Java.type('storage.DataStorage')
1
3499
* def db = new mystorage
1
3500
* def db = db.setfeature(karate.info.featureFileName)
1
3501
* def separator = java.lang.System.getProperty("file.separator")
1
3502
* def outputpath = db.outputpath()
1
3503
* eval db.ensureDirectory(outputpath)
1
3504
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3505
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3506
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3507
Given path 'geonetwork/srv/dut/inspire'
0
3508
And param service = 'CSW'
0
3509
And param version = '2.0.2'
0
3510
And param request = 'GetRecordById'
0
3511
And param id = 'ca9f6d28-b548-41dc-a862-52daa86d1834'
1
3512
And param elementsetname = 'full'
0
3513
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3514
When method get
283
3515
Then status 200
0
3516
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ca9f6d28-b548-41dc-a862-52daa86d1834'
1
3517
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3518
* def title = get response //citation/CI_Citation/title/CharacterString
1
3519
* def email = get response //electronicMailAddress/CharacterString
1
3520
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3521
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3522
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3523
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3524
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3525
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3526
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
3527
* print connectUrl
2
15:15:18.361 [print] https://geodata.nationaalgeoregister.nl/wijkenbuurten2017/wms?request=GetCapabilities
3528
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3529
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3530
* print organisationpath
0
15:15:18.364 [print] Beheer PDOK
3531
* print operateson
0
15:15:18.364 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=26103042-50a1-4ee5-9c5b-857a2f8b7680#MD_DataIdentification
3532
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
3533
* eval db.writeln('"ca9f6d28-b548-41dc-a862-52daa86d1834","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3534
* eval db.writeln('"ca9f6d28-b548-41dc-a862-52daa86d1834","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.94:18]dd414384-0bcb-4188-86e2-2843e12a579e
ms: 288
>>
Background:
3535
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
3536
* def mystorage = Java.type('storage.DataStorage')
1
3537
* def db = new mystorage
1
3538
* def db = db.setfeature(karate.info.featureFileName)
1
3539
* def separator = java.lang.System.getProperty("file.separator")
1
3540
* def outputpath = db.outputpath()
1
3541
* eval db.ensureDirectory(outputpath)
1
3542
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3543
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3544
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3545
Given path 'geonetwork/srv/dut/inspire'
1
3546
And param service = 'CSW'
0
3547
And param version = '2.0.2'
0
3548
And param request = 'GetRecordById'
0
3549
And param id = 'dd414384-0bcb-4188-86e2-2843e12a579e'
1
3550
And param elementsetname = 'full'
0
3551
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3552
When method get
275
3553
Then status 200
0
3554
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dd414384-0bcb-4188-86e2-2843e12a579e'
1
3555
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
3556
* def title = get response //citation/CI_Citation/title/CharacterString
1
3557
* def email = get response //electronicMailAddress/CharacterString
1
3558
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3559
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
3560
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3561
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3562
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3563
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3564
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
3565
* print connectUrl
0
15:15:18.428 [print] https://www.broinspireservices.nl/wfs/ossosgm-a-v1.0?request=GetCapabilities&service=WFS&version=2.0.0
3566
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3567
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3568
* print organisationpath
0
15:15:18.429 [print] TNO Geologische Dienst Nederland
3569
* print operateson
0
15:15:18.429 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=a7fb2234-f7b4-4a03-b282-f10947f42fb1&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
3570
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3571
* eval db.writeln('"dd414384-0bcb-4188-86e2-2843e12a579e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3572
* eval db.writeln('"dd414384-0bcb-4188-86e2-2843e12a579e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.95:18]e5ef707f-6458-4567-8d2c-d24fe88ab5e9
ms: 302
>>
Background:
3573
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
3574
* def mystorage = Java.type('storage.DataStorage')
1
3575
* def db = new mystorage
1
3576
* def db = db.setfeature(karate.info.featureFileName)
1
3577
* def separator = java.lang.System.getProperty("file.separator")
1
3578
* def outputpath = db.outputpath()
1
3579
* eval db.ensureDirectory(outputpath)
1
3580
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3581
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3582
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3583
Given path 'geonetwork/srv/dut/inspire'
1
3584
And param service = 'CSW'
0
3585
And param version = '2.0.2'
0
3586
And param request = 'GetRecordById'
0
3587
And param id = 'e5ef707f-6458-4567-8d2c-d24fe88ab5e9'
1
3588
And param elementsetname = 'full'
0
3589
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3590
When method get
290
3591
Then status 200
0
3592
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e5ef707f-6458-4567-8d2c-d24fe88ab5e9'
1
3593
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3594
* def title = get response //citation/CI_Citation/title/CharacterString
1
3595
* def email = get response //electronicMailAddress/CharacterString
1
3596
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3597
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3598
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3599
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3600
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3601
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3602
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
3603
* print connectUrl
0
15:15:18.466 [print] https://www.broinspireservices.nl/wms/osmrspd-a-v1.0?request=GetCapabilities
3604
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3605
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3606
* print organisationpath
0
15:15:18.467 [print] TNO Geologische Dienst Nederland
3607
* print operateson
0
15:15:18.467 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=e3b0da1e-0664-4025-b3f5-a54d74a26450&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
3608
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3609
* eval db.writeln('"e5ef707f-6458-4567-8d2c-d24fe88ab5e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3610
* eval db.writeln('"e5ef707f-6458-4567-8d2c-d24fe88ab5e9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.96:18]c374d556-7b6e-459b-83c7-74da6ad90a59
ms: 290
>>
Background:
3611
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
3612
* def mystorage = Java.type('storage.DataStorage')
1
3613
* def db = new mystorage
1
3614
* def db = db.setfeature(karate.info.featureFileName)
1
3615
* def separator = java.lang.System.getProperty("file.separator")
1
3616
* def outputpath = db.outputpath()
1
3617
* eval db.ensureDirectory(outputpath)
1
3618
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3619
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3620
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3621
Given path 'geonetwork/srv/dut/inspire'
1
3622
And param service = 'CSW'
0
3623
And param version = '2.0.2'
0
3624
And param request = 'GetRecordById'
0
3625
And param id = 'c374d556-7b6e-459b-83c7-74da6ad90a59'
1
3626
And param elementsetname = 'full'
0
3627
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3628
When method get
276
3629
Then status 200
0
3630
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c374d556-7b6e-459b-83c7-74da6ad90a59'
1
3631
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3632
* def title = get response //citation/CI_Citation/title/CharacterString
1
3633
* def email = get response //electronicMailAddress/CharacterString
1
3634
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3635
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3636
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3637
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
3638
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
3639
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3640
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
3641
* print connectUrl
0
15:15:18.538 [print] https://geodata.nationaalgeoregister.nl/schelpdierwater/wfs?request=GetCapabilities&service=WFS
3642
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3643
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3644
* print organisationpath
0
15:15:18.539 [print] Beheer PDOK
3645
* print operateson
0
15:15:18.539 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=4783ea4f-6b8c-4600-8af0-516f3556cfe9#MD_DataIdentification
3646
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3647
* eval db.writeln('"c374d556-7b6e-459b-83c7-74da6ad90a59","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3648
* eval db.writeln('"c374d556-7b6e-459b-83c7-74da6ad90a59","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.97:18]5bb85b77-fffd-449b-bd61-f076fe07cc4b
ms: 301
>>
Background:
3649
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
3650
* def mystorage = Java.type('storage.DataStorage')
1
3651
* def db = new mystorage
1
3652
* def db = db.setfeature(karate.info.featureFileName)
1
3653
* def separator = java.lang.System.getProperty("file.separator")
1
3654
* def outputpath = db.outputpath()
1
3655
* eval db.ensureDirectory(outputpath)
1
3656
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3657
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3658
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3659
Given path 'geonetwork/srv/dut/inspire'
0
3660
And param service = 'CSW'
0
3661
And param version = '2.0.2'
0
3662
And param request = 'GetRecordById'
0
3663
And param id = '5bb85b77-fffd-449b-bd61-f076fe07cc4b'
0
3664
And param elementsetname = 'full'
0
3665
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3666
When method get
282
3667
Then status 200
0
3668
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5bb85b77-fffd-449b-bd61-f076fe07cc4b'
1
3669
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3670
* def title = get response //citation/CI_Citation/title/CharacterString
1
3671
* def email = get response //electronicMailAddress/CharacterString
1
3672
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3673
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3674
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3675
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
3676
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3677
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3678
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
2
3679
* print connectUrl
0
15:15:18.662 [print] https://geodata.nationaalgeoregister.nl/inspire/tn-c/wfs?request=GetCapabilities
3680
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3681
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
3682
* print organisationpath
0
15:15:18.665 [print] Beheer PDOK
3683
* print operateson
0
15:15:18.665 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6c06740d-058f-4a12-bb3f-bf68efd03d09#MD_DataIdentification
3684
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
3685
* eval db.writeln('"5bb85b77-fffd-449b-bd61-f076fe07cc4b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3686
* eval db.writeln('"5bb85b77-fffd-449b-bd61-f076fe07cc4b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.98:18]ee543323-0fe4-4353-9161-eda61ff26c07
ms: 284
>>
Background:
3687
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
3688
* def mystorage = Java.type('storage.DataStorage')
1
3689
* def db = new mystorage
1
3690
* def db = db.setfeature(karate.info.featureFileName)
1
3691
* def separator = java.lang.System.getProperty("file.separator")
1
3692
* def outputpath = db.outputpath()
1
3693
* eval db.ensureDirectory(outputpath)
1
3694
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3695
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3696
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3697
Given path 'geonetwork/srv/dut/inspire'
0
3698
And param service = 'CSW'
0
3699
And param version = '2.0.2'
0
3700
And param request = 'GetRecordById'
0
3701
And param id = 'ee543323-0fe4-4353-9161-eda61ff26c07'
0
3702
And param elementsetname = 'full'
0
3703
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3704
When method get
270
3705
Then status 200
0
3706
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ee543323-0fe4-4353-9161-eda61ff26c07'
1
3707
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3708
* def title = get response //citation/CI_Citation/title/CharacterString
1
3709
* def email = get response //electronicMailAddress/CharacterString
1
3710
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3711
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3712
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3713
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3714
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3715
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3716
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
2
3717
* print connectUrl
0
15:15:18.713 [print] https://geodata.nationaalgeoregister.nl/tiles/service/tms/1.0.0/brtachtergrondkaartgrijs/EPSG:28992
3718
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3719
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3720
* print organisationpath
0
15:15:18.714 [print] Beheer PDOK
3721
* print operateson
0
15:15:18.714 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3373be8c-8539-4763-bc22-eba23ac1898f#MD_DataIdentification
3722
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3723
* eval db.writeln('"ee543323-0fe4-4353-9161-eda61ff26c07","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3724
* eval db.writeln('"ee543323-0fe4-4353-9161-eda61ff26c07","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.99:18]7a914681-61bd-4f67-902b-45037a00c469
ms: 285
>>
Background:
3725
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
3726
* def mystorage = Java.type('storage.DataStorage')
1
3727
* def db = new mystorage
1
3728
* def db = db.setfeature(karate.info.featureFileName)
1
3729
* def separator = java.lang.System.getProperty("file.separator")
1
3730
* def outputpath = db.outputpath()
1
3731
* eval db.ensureDirectory(outputpath)
1
3732
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3733
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3734
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3735
Given path 'geonetwork/srv/dut/inspire'
0
3736
And param service = 'CSW'
0
3737
And param version = '2.0.2'
0
3738
And param request = 'GetRecordById'
0
3739
And param id = '7a914681-61bd-4f67-902b-45037a00c469'
0
3740
And param elementsetname = 'full'
0
3741
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3742
When method get
271
3743
Then status 200
0
3744
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7a914681-61bd-4f67-902b-45037a00c469'
1
3745
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3746
* def title = get response //citation/CI_Citation/title/CharacterString
1
3747
* def email = get response //electronicMailAddress/CharacterString
1
3748
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3749
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3750
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3751
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3752
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3753
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3754
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
3755
* print connectUrl
0
15:15:18.752 [print] https://geodata.nationaalgeoregister.nl/ahn2/wms?request=GetCapabilities
3756
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3757
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3758
* print organisationpath
0
15:15:18.753 [print] Beheer PDOK
3759
* print operateson
0
15:15:18.753 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=7939fd42-cf88-42c5-ab3b-232cf232a3ac#MD_DataIdentification
3760
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
3761
* eval db.writeln('"7a914681-61bd-4f67-902b-45037a00c469","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3762
* eval db.writeln('"7a914681-61bd-4f67-902b-45037a00c469","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.100:18]4fb15e0d-d88f-40f1-b407-3d3edcf7e184
ms: 281
>>
Background:
3763
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
3764
* def mystorage = Java.type('storage.DataStorage')
1
3765
* def db = new mystorage
1
3766
* def db = db.setfeature(karate.info.featureFileName)
1
3767
* def separator = java.lang.System.getProperty("file.separator")
1
3768
* def outputpath = db.outputpath()
1
3769
* eval db.ensureDirectory(outputpath)
1
3770
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3771
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3772
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3773
Given path 'geonetwork/srv/dut/inspire'
0
3774
And param service = 'CSW'
0
3775
And param version = '2.0.2'
0
3776
And param request = 'GetRecordById'
0
3777
And param id = '4fb15e0d-d88f-40f1-b407-3d3edcf7e184'
0
3778
And param elementsetname = 'full'
0
3779
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3780
When method get
267
3781
Then status 200
0
3782
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4fb15e0d-d88f-40f1-b407-3d3edcf7e184'
1
3783
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3784
* def title = get response //citation/CI_Citation/title/CharacterString
1
3785
* def email = get response //electronicMailAddress/CharacterString
1
3786
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3787
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3788
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3789
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
3790
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
3791
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
3792
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
3793
* print connectUrl
0
15:15:18.819 [print] https://geodata.nationaalgeoregister.nl/nl/rws/tn-ro/wms?request=GetCapabilities
3794
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
3795
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3796
* print organisationpath
0
15:15:18.821 [print] Beheer PDOK
3797
* print operateson
0
15:15:18.821 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-cb527d-f6db-4835-b0cd-deb245241254#MD_DataIdentification
3798
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
3799
* eval db.writeln('"4fb15e0d-d88f-40f1-b407-3d3edcf7e184","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3800
* eval db.writeln('"4fb15e0d-d88f-40f1-b407-3d3edcf7e184","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.101:18]f917ffa9-1531-48ea-867e-0d413d85b05a
ms: 277
>>
Background:
3801
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
3802
* def mystorage = Java.type('storage.DataStorage')
1
3803
* def db = new mystorage
1
3804
* def db = db.setfeature(karate.info.featureFileName)
1
3805
* def separator = java.lang.System.getProperty("file.separator")
1
3806
* def outputpath = db.outputpath()
1
3807
* eval db.ensureDirectory(outputpath)
1
3808
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3809
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3810
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3811
Given path 'geonetwork/srv/dut/inspire'
0
3812
And param service = 'CSW'
0
3813
And param version = '2.0.2'
0
3814
And param request = 'GetRecordById'
0
3815
And param id = 'f917ffa9-1531-48ea-867e-0d413d85b05a'
1
3816
And param elementsetname = 'full'
0
3817
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3818
When method get
262
3819
Then status 200
0
3820
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f917ffa9-1531-48ea-867e-0d413d85b05a'
1
3821
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3822
* def title = get response //citation/CI_Citation/title/CharacterString
1
3823
* def email = get response //electronicMailAddress/CharacterString
1
3824
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3825
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3826
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3827
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
3828
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
3829
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
3830
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
3831
* print connectUrl
0
15:15:18.943 [print] https://geodata.nationaalgeoregister.nl/digitaaltopografischbestand/wms?
3832
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3833
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3834
* print organisationpath
0
15:15:18.944 [print] Beheer PDOK
3835
* print operateson
0
15:15:18.944 [print] [
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c4bed072-0fda-47b8-96fa-457a938b88fc",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c4b137b8-2317-42c2-aced-204c4216d68d",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3229e4d7-4bcd-4b94-819d-8e62de69ce2e"
]
3836
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
3837
* eval db.writeln('"f917ffa9-1531-48ea-867e-0d413d85b05a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3838
* eval db.writeln('"f917ffa9-1531-48ea-867e-0d413d85b05a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.102:18]180b6682-5d6f-429d-abb7-32f7d6253787
ms: 291
>>
Background:
3839
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
3840
* def mystorage = Java.type('storage.DataStorage')
1
3841
* def db = new mystorage
1
3842
* def db = db.setfeature(karate.info.featureFileName)
1
3843
* def separator = java.lang.System.getProperty("file.separator")
1
3844
* def outputpath = db.outputpath()
1
3845
* eval db.ensureDirectory(outputpath)
1
3846
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3847
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3848
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3849
Given path 'geonetwork/srv/dut/inspire'
1
3850
And param service = 'CSW'
0
3851
And param version = '2.0.2'
0
3852
And param request = 'GetRecordById'
0
3853
And param id = '180b6682-5d6f-429d-abb7-32f7d6253787'
0
3854
And param elementsetname = 'full'
0
3855
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3856
When method get
278
3857
Then status 200
0
3858
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '180b6682-5d6f-429d-abb7-32f7d6253787'
1
3859
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3860
* def title = get response //citation/CI_Citation/title/CharacterString
1
3861
* def email = get response //electronicMailAddress/CharacterString
1
3862
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3863
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3864
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3865
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3866
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3867
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3868
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
3869
* print connectUrl
0
15:15:19.006 [print] https://geodata.nationaalgeoregister.nl/windkaart/wfs?request=GetCapabilities
3870
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3871
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3872
* print organisationpath
0
15:15:19.007 [print] Beheer PDOK
3873
* print operateson
0
15:15:19.007 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=d845cef6-0e23-4212-a951-b69763e39ef0#MD_DataIdentification
3874
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
3875
* eval db.writeln('"180b6682-5d6f-429d-abb7-32f7d6253787","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3876
* eval db.writeln('"180b6682-5d6f-429d-abb7-32f7d6253787","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.103:18]dcb7f0d7-d70b-4eab-9a46-7af98de860bd
ms: 299
>>
Background:
3877
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
3878
* def mystorage = Java.type('storage.DataStorage')
1
3879
* def db = new mystorage
1
3880
* def db = db.setfeature(karate.info.featureFileName)
1
3881
* def separator = java.lang.System.getProperty("file.separator")
1
3882
* def outputpath = db.outputpath()
1
3883
* eval db.ensureDirectory(outputpath)
1
3884
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3885
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3886
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3887
Given path 'geonetwork/srv/dut/inspire'
1
3888
And param service = 'CSW'
0
3889
And param version = '2.0.2'
0
3890
And param request = 'GetRecordById'
0
3891
And param id = 'dcb7f0d7-d70b-4eab-9a46-7af98de860bd'
0
3892
And param elementsetname = 'full'
0
3893
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3894
When method get
283
3895
Then status 200
0
3896
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'dcb7f0d7-d70b-4eab-9a46-7af98de860bd'
1
3897
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3898
* def title = get response //citation/CI_Citation/title/CharacterString
1
3899
* def email = get response //electronicMailAddress/CharacterString
1
3900
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3901
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3902
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3903
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3904
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3905
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3906
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
3907
* print connectUrl
0
15:15:19.047 [print] https://geodata.nationaalgeoregister.nl/wijkenbuurten2017/wfs?request=GetCapabilities
3908
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3909
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
3910
* print organisationpath
0
15:15:19.048 [print] Beheer PDOK
3911
* print operateson
3
15:15:19.051 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=26103042-50a1-4ee5-9c5b-857a2f8b7680#MD_DataIdentification
3912
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
3913
* eval db.writeln('"dcb7f0d7-d70b-4eab-9a46-7af98de860bd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
3914
* eval db.writeln('"dcb7f0d7-d70b-4eab-9a46-7af98de860bd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.104:18]0426f471-f325-42ed-a775-81c397592e86
ms: 299
>>
Background:
3915
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
3916
* def mystorage = Java.type('storage.DataStorage')
1
3917
* def db = new mystorage
1
3918
* def db = db.setfeature(karate.info.featureFileName)
1
3919
* def separator = java.lang.System.getProperty("file.separator")
1
3920
* def outputpath = db.outputpath()
1
3921
* eval db.ensureDirectory(outputpath)
1
3922
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3923
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3924
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3925
Given path 'geonetwork/srv/dut/inspire'
1
3926
And param service = 'CSW'
0
3927
And param version = '2.0.2'
0
3928
And param request = 'GetRecordById'
0
3929
And param id = '0426f471-f325-42ed-a775-81c397592e86'
1
3930
And param elementsetname = 'full'
0
3931
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3932
When method get
282
3933
Then status 200
0
3934
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0426f471-f325-42ed-a775-81c397592e86'
1
3935
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3936
* def title = get response //citation/CI_Citation/title/CharacterString
1
3937
* def email = get response //electronicMailAddress/CharacterString
1
3938
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3939
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3940
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3941
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3942
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3943
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3944
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
3945
* print connectUrl
1
15:15:19.117 [print] https://inspire.rivm.nl/geoserver/wms?request=GetCapabilities
3946
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3947
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3948
* print organisationpath
3
15:15:19.120 [print] Rijksinstituut voor Volksgezondheid en Milieu
3949
* print operateson
0
15:15:19.120 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6#MD_DataIdentification
3950
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
3951
* eval db.writeln('"0426f471-f325-42ed-a775-81c397592e86","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
3952
* eval db.writeln('"0426f471-f325-42ed-a775-81c397592e86","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.105:18]62dc32f1-853c-416a-876b-6e083554f1b6
ms: 285
>>
Background:
3953
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
3954
* def mystorage = Java.type('storage.DataStorage')
1
3955
* def db = new mystorage
1
3956
* def db = db.setfeature(karate.info.featureFileName)
1
3957
* def separator = java.lang.System.getProperty("file.separator")
1
3958
* def outputpath = db.outputpath()
1
3959
* eval db.ensureDirectory(outputpath)
1
3960
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3961
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
3962
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
3963
Given path 'geonetwork/srv/dut/inspire'
0
3964
And param service = 'CSW'
0
3965
And param version = '2.0.2'
0
3966
And param request = 'GetRecordById'
0
3967
And param id = '62dc32f1-853c-416a-876b-6e083554f1b6'
0
3968
And param elementsetname = 'full'
0
3969
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
3970
When method get
273
3971
Then status 200
0
3972
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '62dc32f1-853c-416a-876b-6e083554f1b6'
1
3973
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
3974
* def title = get response //citation/CI_Citation/title/CharacterString
1
3975
* def email = get response //electronicMailAddress/CharacterString
0
3976
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
3977
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
3978
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
3979
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
3980
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
3981
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
3982
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
3983
* print connectUrl
0
15:15:19.229 [print] https://geodata.nationaalgeoregister.nl/ienw/geluidskaartspoorwegenetmaal/v1/wms?request=GetCapabilities&service=wms
3984
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
3985
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
3986
* print organisationpath
0
15:15:19.230 [print] Beheer PDOK
3987
* print operateson
0
15:15:19.230 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c3c004ad-5387-4b00-a225-9afbcaa5d31b#MD_DataIdentification
3988
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
3989
* eval db.writeln('"62dc32f1-853c-416a-876b-6e083554f1b6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
3990
* eval db.writeln('"62dc32f1-853c-416a-876b-6e083554f1b6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.106:18]a7ed73f4-e16d-46a3-befa-603370cfb6e8
ms: 292
>>
Background:
3991
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
3992
* def mystorage = Java.type('storage.DataStorage')
1
3993
* def db = new mystorage
1
3994
* def db = db.setfeature(karate.info.featureFileName)
1
3995
* def separator = java.lang.System.getProperty("file.separator")
1
3996
* def outputpath = db.outputpath()
1
3997
* eval db.ensureDirectory(outputpath)
1
3998
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
3999
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4000
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4001
Given path 'geonetwork/srv/dut/inspire'
0
4002
And param service = 'CSW'
0
4003
And param version = '2.0.2'
0
4004
And param request = 'GetRecordById'
0
4005
And param id = 'a7ed73f4-e16d-46a3-befa-603370cfb6e8'
0
4006
And param elementsetname = 'full'
0
4007
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4008
When method get
276
4009
Then status 200
0
4010
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a7ed73f4-e16d-46a3-befa-603370cfb6e8'
1
4011
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4012
* def title = get response //citation/CI_Citation/title/CharacterString
1
4013
* def email = get response //electronicMailAddress/CharacterString
1
4014
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4015
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4016
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
1
4017
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
4018
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
4019
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4020
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
4021
* print connectUrl
0
15:15:19.298 [print] https://geodata.nationaalgeoregister.nl/inspire/su-grid/wms?request=GetCapabilities
4022
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4023
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4024
* print organisationpath
0
15:15:19.299 [print] Beheer PDOK
4025
* print operateson
0
15:15:19.299 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=db8d613f-5edc-4467-9cc0-e2dcfb9d64a8#MD_DataIdentification
4026
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4027
* eval db.writeln('"a7ed73f4-e16d-46a3-befa-603370cfb6e8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4028
* eval db.writeln('"a7ed73f4-e16d-46a3-befa-603370cfb6e8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.107:18]4f4c7848-1767-4c67-be08-87d45d07f313
ms: 384
>>
Background:
4029
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
4030
* def mystorage = Java.type('storage.DataStorage')
1
4031
* def db = new mystorage
1
4032
* def db = db.setfeature(karate.info.featureFileName)
1
4033
* def separator = java.lang.System.getProperty("file.separator")
1
4034
* def outputpath = db.outputpath()
1
4035
* eval db.ensureDirectory(outputpath)
1
4036
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4037
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4038
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4039
Given path 'geonetwork/srv/dut/inspire'
1
4040
And param service = 'CSW'
0
4041
And param version = '2.0.2'
0
4042
And param request = 'GetRecordById'
0
4043
And param id = '4f4c7848-1767-4c67-be08-87d45d07f313'
0
4044
And param elementsetname = 'full'
0
4045
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4046
When method get
340
4047
Then status 200
0
4048
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4f4c7848-1767-4c67-be08-87d45d07f313'
3
4049
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
3
4050
* def title = get response //citation/CI_Citation/title/CharacterString
3
4051
* def email = get response //electronicMailAddress/CharacterString
3
4052
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
3
4053
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
3
4054
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4055
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
2
4056
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
2
4057
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
2
4058
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
4059
* print connectUrl
0
15:15:19.423 [print] https://geodata.nationaalgeoregister.nl/habitatrichtlijnverspreidingsgebieden/v2/wfs?request=GetCapabilities
4060
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
2
4061
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
3
4062
* print organisationpath
0
15:15:19.428 [print] Beheer PDOK
4063
* print operateson
0
15:15:19.429 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f273941e-9c3b-43bc-b886-2d50d0bf9348#MD_DataIdentification
4064
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
3
4065
* eval db.writeln('"4f4c7848-1767-4c67-be08-87d45d07f313","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4066
* eval db.writeln('"4f4c7848-1767-4c67-be08-87d45d07f313","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
7
Scenario Outline: [1.108:18]68722979-8d6c-4ee4-a81a-8381d2588fe5
ms: 312
>>
Background:
4067
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
4068
* def mystorage = Java.type('storage.DataStorage')
1
4069
* def db = new mystorage
1
4070
* def db = db.setfeature(karate.info.featureFileName)
1
4071
* def separator = java.lang.System.getProperty("file.separator")
1
4072
* def outputpath = db.outputpath()
1
4073
* eval db.ensureDirectory(outputpath)
1
4074
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4075
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4076
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4077
Given path 'geonetwork/srv/dut/inspire'
0
4078
And param service = 'CSW'
0
4079
And param version = '2.0.2'
0
4080
And param request = 'GetRecordById'
0
4081
And param id = '68722979-8d6c-4ee4-a81a-8381d2588fe5'
1
4082
And param elementsetname = 'full'
0
4083
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4084
When method get
293
4085
Then status 200
0
4086
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68722979-8d6c-4ee4-a81a-8381d2588fe5'
1
4087
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4088
* def title = get response //citation/CI_Citation/title/CharacterString
0
4089
* def email = get response //electronicMailAddress/CharacterString
0
4090
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4091
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4092
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4093
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4094
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4095
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4096
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
4097
* print connectUrl
0
15:15:19.425 [print] https://geodata.nationaalgeoregister.nl/nl/rws/hy-n/wms?request=GetCapabilities
4098
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4099
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4100
* print organisationpath
0
15:15:19.426 [print] Beheer PDOK
4101
* print operateson
0
15:15:19.426 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification
4102
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
9
4103
* eval db.writeln('"68722979-8d6c-4ee4-a81a-8381d2588fe5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4104
* eval db.writeln('"68722979-8d6c-4ee4-a81a-8381d2588fe5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.109:18]5856173c-e58d-4b4c-8f9b-046ee1f20c1c
ms: 287
>>
Background:
4105
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
4106
* def mystorage = Java.type('storage.DataStorage')
1
4107
* def db = new mystorage
1
4108
* def db = db.setfeature(karate.info.featureFileName)
1
4109
* def separator = java.lang.System.getProperty("file.separator")
1
4110
* def outputpath = db.outputpath()
1
4111
* eval db.ensureDirectory(outputpath)
1
4112
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4113
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4114
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4115
Given path 'geonetwork/srv/dut/inspire'
0
4116
And param service = 'CSW'
0
4117
And param version = '2.0.2'
0
4118
And param request = 'GetRecordById'
0
4119
And param id = '5856173c-e58d-4b4c-8f9b-046ee1f20c1c'
0
4120
And param elementsetname = 'full'
0
4121
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4122
When method get
272
4123
Then status 200
0
4124
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5856173c-e58d-4b4c-8f9b-046ee1f20c1c'
1
4125
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4126
* def title = get response //citation/CI_Citation/title/CharacterString
1
4127
* def email = get response //electronicMailAddress/CharacterString
1
4128
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
3
4129
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4130
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4131
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4132
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4133
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4134
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
4135
* print connectUrl
0
15:15:19.516 [print] https://geodata.nationaalgeoregister.nl/wko/wfs?request=Getcapabilities
4136
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4137
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4138
* print organisationpath
0
15:15:19.517 [print] Beheer PDOK
4139
* print operateson
0
15:15:19.517 [print] https://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=dc5b522e-3e14-4738-9e8e-2401e1b19ef2#MD_DataIdentification
4140
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
4141
* eval db.writeln('"5856173c-e58d-4b4c-8f9b-046ee1f20c1c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4142
* eval db.writeln('"5856173c-e58d-4b4c-8f9b-046ee1f20c1c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.110:18]a299a4af-ccd8-4d32-b1fb-ffab77b32e0e
ms: 301
>>
Background:
4143
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
4144
* def mystorage = Java.type('storage.DataStorage')
1
4145
* def db = new mystorage
1
4146
* def db = db.setfeature(karate.info.featureFileName)
1
4147
* def separator = java.lang.System.getProperty("file.separator")
1
4148
* def outputpath = db.outputpath()
1
4149
* eval db.ensureDirectory(outputpath)
1
4150
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4151
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4152
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4153
Given path 'geonetwork/srv/dut/inspire'
0
4154
And param service = 'CSW'
0
4155
And param version = '2.0.2'
0
4156
And param request = 'GetRecordById'
1
4157
And param id = 'a299a4af-ccd8-4d32-b1fb-ffab77b32e0e'
2
4158
And param elementsetname = 'full'
0
4159
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4160
When method get
283
4161
Then status 200
0
4162
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a299a4af-ccd8-4d32-b1fb-ffab77b32e0e'
1
4163
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4164
* def title = get response //citation/CI_Citation/title/CharacterString
0
4165
* def email = get response //electronicMailAddress/CharacterString
0
4166
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4167
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4168
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4169
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4170
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
4171
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
2
4172
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
4173
* print connectUrl
0
15:15:19.598 [print] https://www.broinspireservices.nl/wfs/osgegmw-a-v1.0?request=GetCapabilities&service=WFS&version=2.0.0
4174
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4175
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4176
* print organisationpath
0
15:15:19.598 [print] TNO Geologische Dienst Nederland
4177
* print operateson
0
15:15:19.599 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=f99e915a-75e5-4c36-97f2-61eff692d85b&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
4178
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4179
* eval db.writeln('"a299a4af-ccd8-4d32-b1fb-ffab77b32e0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
4180
* eval db.writeln('"a299a4af-ccd8-4d32-b1fb-ffab77b32e0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.111:18]67bcc21d-beda-449d-975c-00a4fa80f2b7
ms: 298
>>
Background:
4181
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
4182
* def mystorage = Java.type('storage.DataStorage')
1
4183
* def db = new mystorage
1
4184
* def db = db.setfeature(karate.info.featureFileName)
1
4185
* def separator = java.lang.System.getProperty("file.separator")
1
4186
* def outputpath = db.outputpath()
1
4187
* eval db.ensureDirectory(outputpath)
1
4188
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4189
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4190
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4191
Given path 'geonetwork/srv/dut/inspire'
1
4192
And param service = 'CSW'
0
4193
And param version = '2.0.2'
0
4194
And param request = 'GetRecordById'
0
4195
And param id = '67bcc21d-beda-449d-975c-00a4fa80f2b7'
0
4196
And param elementsetname = 'full'
0
4197
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4198
When method get
284
4199
Then status 200
0
4200
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '67bcc21d-beda-449d-975c-00a4fa80f2b7'
1
4201
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4202
* def title = get response //citation/CI_Citation/title/CharacterString
1
4203
* def email = get response //electronicMailAddress/CharacterString
1
4204
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4205
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4206
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4207
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
4208
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
4209
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
4210
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
4211
* print connectUrl
0
15:15:19.731 [print] https://service.pdok.nl/hwh/hydrografie/wms/v1_0?request=GetCapabilities&service=WMS
4212
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
4213
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4214
* print organisationpath
0
15:15:19.732 [print] Beheer PDOK
4215
* print operateson
0
15:15:19.732 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=07575774-57a1-4419-bab4-6c88fdeb02b2#MD_DataIdentification
4216
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4217
* eval db.writeln('"67bcc21d-beda-449d-975c-00a4fa80f2b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4218
* eval db.writeln('"67bcc21d-beda-449d-975c-00a4fa80f2b7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.112:18]tn-2c7040b-c448-451b-bf15-f2416etaadd1
ms: 331
>>
Background:
4219
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
4220
* def mystorage = Java.type('storage.DataStorage')
1
4221
* def db = new mystorage
1
4222
* def db = db.setfeature(karate.info.featureFileName)
1
4223
* def separator = java.lang.System.getProperty("file.separator")
1
4224
* def outputpath = db.outputpath()
1
4225
* eval db.ensureDirectory(outputpath)
1
4226
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4227
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4228
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4229
Given path 'geonetwork/srv/dut/inspire'
0
4230
And param service = 'CSW'
0
4231
And param version = '2.0.2'
0
4232
And param request = 'GetRecordById'
0
4233
And param id = 'tn-2c7040b-c448-451b-bf15-f2416etaadd1'
1
4234
And param elementsetname = 'full'
0
4235
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4236
When method get
320
4237
Then status 200
0
4238
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'tn-2c7040b-c448-451b-bf15-f2416etaadd1'
1
4239
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4240
* def title = get response //citation/CI_Citation/title/CharacterString
0
4241
* def email = get response //electronicMailAddress/CharacterString
0
4242
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4243
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4244
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4245
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4246
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4247
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4248
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
4249
* print connectUrl
0
15:15:19.768 [print] https://haleconnect.com/services/bsp/org.292.2885ef73-e044-4da4-b9b6-8a461a5353aa/service/atom/id_predefined_dataset
4250
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4251
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4252
* print organisationpath
0
15:15:19.769 [print] Rijkswaterstaat
4253
* print operateson
0
15:15:19.769 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=eu-2c7040b-c448-451b-bf15-f2416ecaadd1#MD_DataIdentification
4254
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4255
* eval db.writeln('"tn-2c7040b-c448-451b-bf15-f2416etaadd1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4256
* eval db.writeln('"tn-2c7040b-c448-451b-bf15-f2416etaadd1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.113:18]ef2a7962-8bb4-483f-ac78-851b619f357f
ms: 309
>>
Background:
4257
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
4258
* def mystorage = Java.type('storage.DataStorage')
1
4259
* def db = new mystorage
1
4260
* def db = db.setfeature(karate.info.featureFileName)
1
4261
* def separator = java.lang.System.getProperty("file.separator")
1
4262
* def outputpath = db.outputpath()
1
4263
* eval db.ensureDirectory(outputpath)
1
4264
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4265
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4266
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4267
Given path 'geonetwork/srv/dut/inspire'
0
4268
And param service = 'CSW'
0
4269
And param version = '2.0.2'
0
4270
And param request = 'GetRecordById'
0
4271
And param id = 'ef2a7962-8bb4-483f-ac78-851b619f357f'
1
4272
And param elementsetname = 'full'
0
4273
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4274
When method get
297
4275
Then status 200
0
4276
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ef2a7962-8bb4-483f-ac78-851b619f357f'
1
4277
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4278
* def title = get response //citation/CI_Citation/title/CharacterString
1
4279
* def email = get response //electronicMailAddress/CharacterString
1
4280
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4281
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4282
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4283
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4284
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4285
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4286
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
4287
* print connectUrl
0
15:15:19.826 [print] http://services.rce.geovoorziening.nl/www/download/nl.xml
4288
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4289
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4290
* print organisationpath
0
15:15:19.827 [print] Rijksdienst voor het Cultureel Erfgoed
4291
* print operateson
0
15:15:19.827 [print] [
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=6f84efeb-fc1d-4565-a721-80735ea57dbd&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full",
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=dfe5b146-354f-4bc7-99b1-6713817afac9&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full",
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=4e2ef670-cddd-11dd-ad8b-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full",
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88a3c1ae-902e-4efa-8663-ddd836101929&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full"
]
4292
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4293
* eval db.writeln('"ef2a7962-8bb4-483f-ac78-851b619f357f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4294
* eval db.writeln('"ef2a7962-8bb4-483f-ac78-851b619f357f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.114:18]7c664a91-1aa2-4923-9d17-6a43e4075f47
ms: 296
>>
Background:
4295
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
4296
* def mystorage = Java.type('storage.DataStorage')
1
4297
* def db = new mystorage
1
4298
* def db = db.setfeature(karate.info.featureFileName)
1
4299
* def separator = java.lang.System.getProperty("file.separator")
1
4300
* def outputpath = db.outputpath()
1
4301
* eval db.ensureDirectory(outputpath)
1
4302
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4303
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4304
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4305
Given path 'geonetwork/srv/dut/inspire'
1
4306
And param service = 'CSW'
0
4307
And param version = '2.0.2'
0
4308
And param request = 'GetRecordById'
0
4309
And param id = '7c664a91-1aa2-4923-9d17-6a43e4075f47'
1
4310
And param elementsetname = 'full'
0
4311
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4312
When method get
283
4313
Then status 200
0
4314
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7c664a91-1aa2-4923-9d17-6a43e4075f47'
1
4315
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4316
* def title = get response //citation/CI_Citation/title/CharacterString
1
4317
* def email = get response //electronicMailAddress/CharacterString
1
4318
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4319
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4320
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4321
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4322
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4323
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4324
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
4325
* print connectUrl
0
15:15:19.897 [print] https://inspire.caris.nl/atom/maritieme-grenzen-zones-noordzee-Territoriale-Zee-Noordzee-feed.atom
4326
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4327
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4328
* print organisationpath
0
15:15:19.898 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
4329
* print operateson
0
15:15:19.898 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=bb11be63-bd38-4632-bf54-df44c423a529#MD_DataIdentification
4330
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4331
* eval db.writeln('"7c664a91-1aa2-4923-9d17-6a43e4075f47","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4332
* eval db.writeln('"7c664a91-1aa2-4923-9d17-6a43e4075f47","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.115:18]5f0c583a-101e-45ea-b684-a056713cf811
ms: 335
>>
Background:
4333
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
4334
* def mystorage = Java.type('storage.DataStorage')
1
4335
* def db = new mystorage
1
4336
* def db = db.setfeature(karate.info.featureFileName)
1
4337
* def separator = java.lang.System.getProperty("file.separator")
1
4338
* def outputpath = db.outputpath()
1
4339
* eval db.ensureDirectory(outputpath)
1
4340
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4341
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4342
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4343
Given path 'geonetwork/srv/dut/inspire'
0
4344
And param service = 'CSW'
0
4345
And param version = '2.0.2'
0
4346
And param request = 'GetRecordById'
0
4347
And param id = '5f0c583a-101e-45ea-b684-a056713cf811'
5
4348
And param elementsetname = 'full'
0
4349
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4350
When method get
264
4351
Then status 200
0
4352
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5f0c583a-101e-45ea-b684-a056713cf811'
1
4353
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4354
* def title = get response //citation/CI_Citation/title/CharacterString
0
4355
* def email = get response //electronicMailAddress/CharacterString
0
4356
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
4357
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4358
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4359
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4360
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4361
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4362
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
4363
* print connectUrl
0
15:15:20.011 [print] https://inspire.caris.nl/atom/maritieme-grenzen-zones-noordzee-baseline-feed.atom
4364
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4365
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4366
* print organisationpath
0
15:15:20.012 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
4367
* print operateson
13
15:15:20.025 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=1249746f-c2a6-4639-98f2-251676b3528e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
4368
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4369
* eval db.writeln('"5f0c583a-101e-45ea-b684-a056713cf811","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
23
4370
* eval db.writeln('"5f0c583a-101e-45ea-b684-a056713cf811","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
24
Scenario Outline: [1.116:18]46873d16-6835-48c4-b47f-134ab0cb31fa
ms: 314
>>
Background:
4371
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
4372
* def mystorage = Java.type('storage.DataStorage')
1
4373
* def db = new mystorage
1
4374
* def db = db.setfeature(karate.info.featureFileName)
1
4375
* def separator = java.lang.System.getProperty("file.separator")
1
4376
* def outputpath = db.outputpath()
1
4377
* eval db.ensureDirectory(outputpath)
1
4378
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4379
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4380
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4381
Given path 'geonetwork/srv/dut/inspire'
0
4382
And param service = 'CSW'
0
4383
And param version = '2.0.2'
0
4384
And param request = 'GetRecordById'
0
4385
And param id = '46873d16-6835-48c4-b47f-134ab0cb31fa'
1
4386
And param elementsetname = 'full'
0
4387
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4388
When method get
283
4389
Then status 200
0
4390
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '46873d16-6835-48c4-b47f-134ab0cb31fa'
6
4391
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4392
* def title = get response //citation/CI_Citation/title/CharacterString
0
4393
* def email = get response //electronicMailAddress/CharacterString
0
4394
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4395
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4396
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4397
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4398
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4399
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4400
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
4401
* print connectUrl
0
15:15:20.067 [print] https://inspire.rivm.nl/geoserver/wfs?request=GetCapabilities
4402
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4403
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4404
* print organisationpath
0
15:15:20.068 [print] Rijksinstituut voor Volksgezondheid en Milieu
4405
* print operateson
0
15:15:20.068 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=50a2c5e6-c8e7-425d-854e-26f578196bc9#MD_DataIdentification
4406
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4407
* eval db.writeln('"46873d16-6835-48c4-b47f-134ab0cb31fa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
9
4408
* eval db.writeln('"46873d16-6835-48c4-b47f-134ab0cb31fa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
10
Scenario Outline: [1.117:18]efb5222c-112a-4c57-9bbf-f2af918cb9b5
ms: 306
>>
Background:
4409
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
4410
* def mystorage = Java.type('storage.DataStorage')
1
4411
* def db = new mystorage
1
4412
* def db = db.setfeature(karate.info.featureFileName)
1
4413
* def separator = java.lang.System.getProperty("file.separator")
1
4414
* def outputpath = db.outputpath()
1
4415
* eval db.ensureDirectory(outputpath)
1
4416
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4417
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4418
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4419
Given path 'geonetwork/srv/dut/inspire'
3
4420
And param service = 'CSW'
0
4421
And param version = '2.0.2'
0
4422
And param request = 'GetRecordById'
0
4423
And param id = 'efb5222c-112a-4c57-9bbf-f2af918cb9b5'
3
4424
And param elementsetname = 'full'
0
4425
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4426
When method get
287
4427
Then status 200
0
4428
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'efb5222c-112a-4c57-9bbf-f2af918cb9b5'
1
4429
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4430
* def title = get response //citation/CI_Citation/title/CharacterString
0
4431
* def email = get response //electronicMailAddress/CharacterString
0
4432
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4433
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4434
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4435
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4436
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4437
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4438
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
4439
* print connectUrl
0
15:15:20.129 [print] https://inspire.caris.nl/atom/maritieme-grenzen-zones-noordzee-aansluitende-zone-feed.atom
4440
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4441
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4442
* print organisationpath
0
15:15:20.130 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
4443
* print operateson
0
15:15:20.130 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4cda487b-c467-490c-a843-6563fec016be#MD_DataIdentification
4444
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
4
4445
* eval db.writeln('"efb5222c-112a-4c57-9bbf-f2af918cb9b5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4446
* eval db.writeln('"efb5222c-112a-4c57-9bbf-f2af918cb9b5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.118:18]93c8762c-4cbb-42b0-9b02-89ef902e8880
ms: 300
>>
Background:
4447
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
4448
* def mystorage = Java.type('storage.DataStorage')
1
4449
* def db = new mystorage
1
4450
* def db = db.setfeature(karate.info.featureFileName)
1
4451
* def separator = java.lang.System.getProperty("file.separator")
1
4452
* def outputpath = db.outputpath()
1
4453
* eval db.ensureDirectory(outputpath)
1
4454
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4455
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4456
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4457
Given path 'geonetwork/srv/dut/inspire'
0
4458
And param service = 'CSW'
0
4459
And param version = '2.0.2'
0
4460
And param request = 'GetRecordById'
0
4461
And param id = '93c8762c-4cbb-42b0-9b02-89ef902e8880'
1
4462
And param elementsetname = 'full'
0
4463
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4464
When method get
278
4465
Then status 200
0
4466
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '93c8762c-4cbb-42b0-9b02-89ef902e8880'
1
4467
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4468
* def title = get response //citation/CI_Citation/title/CharacterString
0
4469
* def email = get response //electronicMailAddress/CharacterString
0
4470
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
4471
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4472
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4473
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4474
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4475
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4476
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
4477
* print connectUrl
10
15:15:20.196 [print] https://geodata.nationaalgeoregister.nl/provincies/ps/atom/v1/index.xml
4478
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
4479
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4480
* print organisationpath
0
15:15:20.198 [print] Beheer PDOK
4481
* print operateson
0
15:15:20.198 [print] [
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=49ab8bee-b467-486a-96ca-b950443c453a#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f002bfc5-7d87-46b6-819e-8415422b65c9#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f0821bfe-5a0a-11e9-8647-d663bd873d93#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=60a2a7c2-d5b3-4ad5-b562-c448695357fb#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c7d8d77b-8c47-4309-8c58-9b12b086407f#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=ca94a0cb-7561-4a10-a7d6-b840e56c33ff#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=998ba1dc-f6a6-49a3-a021-51f30d9b1d0e#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=49ab8bee-b467-486a-96ca-b950443c453a#MD_DataIdentification"
]
4482
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4483
* eval db.writeln('"93c8762c-4cbb-42b0-9b02-89ef902e8880","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4484
* eval db.writeln('"93c8762c-4cbb-42b0-9b02-89ef902e8880","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.119:18]e91719b1-a139-42cf-8a1a-db78cd7477f8
ms: 302
>>
Background:
4485
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
4486
* def mystorage = Java.type('storage.DataStorage')
1
4487
* def db = new mystorage
1
4488
* def db = db.setfeature(karate.info.featureFileName)
1
4489
* def separator = java.lang.System.getProperty("file.separator")
1
4490
* def outputpath = db.outputpath()
1
4491
* eval db.ensureDirectory(outputpath)
1
4492
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4493
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4494
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4495
Given path 'geonetwork/srv/dut/inspire'
1
4496
And param service = 'CSW'
0
4497
And param version = '2.0.2'
0
4498
And param request = 'GetRecordById'
0
4499
And param id = 'e91719b1-a139-42cf-8a1a-db78cd7477f8'
1
4500
And param elementsetname = 'full'
0
4501
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4502
When method get
288
4503
Then status 200
0
4504
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e91719b1-a139-42cf-8a1a-db78cd7477f8'
1
4505
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4506
* def title = get response //citation/CI_Citation/title/CharacterString
1
4507
* def email = get response //electronicMailAddress/CharacterString
1
4508
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4509
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4510
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4511
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
4512
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
4513
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
4514
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
4515
* print connectUrl
0
15:15:20.369 [print] https://geodata.nationaalgeoregister.nl/rws/kaderrichtlijnwater2009/atom/v1_0/index.xml
4516
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
4517
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4518
* print organisationpath
0
15:15:20.371 [print] Beheer PDOK
4519
* print operateson
1
15:15:20.371 [print] [
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krw2006-c57b-44a2-83a4-e51223d5f15g#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krw2006-68b5-4ff3-94a4-9c24109ffd5e#MD_DataIdentification"
]
4520
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
4521
* eval db.writeln('"e91719b1-a139-42cf-8a1a-db78cd7477f8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4522
* eval db.writeln('"e91719b1-a139-42cf-8a1a-db78cd7477f8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.120:18]fbe544b6-6e6f-43a0-80b9-ced1df78c434
ms: 310
>>
Background:
4523
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
4524
* def mystorage = Java.type('storage.DataStorage')
1
4525
* def db = new mystorage
1
4526
* def db = db.setfeature(karate.info.featureFileName)
1
4527
* def separator = java.lang.System.getProperty("file.separator")
1
4528
* def outputpath = db.outputpath()
1
4529
* eval db.ensureDirectory(outputpath)
1
4530
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4531
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4532
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4533
Given path 'geonetwork/srv/dut/inspire'
0
4534
And param service = 'CSW'
0
4535
And param version = '2.0.2'
0
4536
And param request = 'GetRecordById'
0
4537
And param id = 'fbe544b6-6e6f-43a0-80b9-ced1df78c434'
1
4538
And param elementsetname = 'full'
0
4539
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4540
When method get
300
4541
Then status 200
0
4542
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'fbe544b6-6e6f-43a0-80b9-ced1df78c434'
0
4543
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4544
* def title = get response //citation/CI_Citation/title/CharacterString
0
4545
* def email = get response //electronicMailAddress/CharacterString
0
4546
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4547
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4548
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4549
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4550
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4551
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4552
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
4553
* print connectUrl
0
15:15:20.394 [print] https://inspire.rivm.nl/geoserver/wfs?request=GetCapabilities
4554
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4555
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4556
* print organisationpath
0
15:15:20.395 [print] Rijksinstituut voor Volksgezondheid en Milieu
4557
* print operateson
0
15:15:20.395 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ad6caa40-89ab-47e3-85ab-3f8e32024a71#MD_DataIdentification
4558
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4559
* eval db.writeln('"fbe544b6-6e6f-43a0-80b9-ced1df78c434","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
4560
* eval db.writeln('"fbe544b6-6e6f-43a0-80b9-ced1df78c434","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.121:18]37308f90-e619-4b62-ae9e-e656bb3f1649
ms: 317
>>
Background:
4561
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
4562
* def mystorage = Java.type('storage.DataStorage')
1
4563
* def db = new mystorage
1
4564
* def db = db.setfeature(karate.info.featureFileName)
1
4565
* def separator = java.lang.System.getProperty("file.separator")
1
4566
* def outputpath = db.outputpath()
1
4567
* eval db.ensureDirectory(outputpath)
1
4568
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4569
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4570
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4571
Given path 'geonetwork/srv/dut/inspire'
0
4572
And param service = 'CSW'
0
4573
And param version = '2.0.2'
0
4574
And param request = 'GetRecordById'
0
4575
And param id = '37308f90-e619-4b62-ae9e-e656bb3f1649'
0
4576
And param elementsetname = 'full'
0
4577
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4578
When method get
303
4579
Then status 200
0
4580
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '37308f90-e619-4b62-ae9e-e656bb3f1649'
1
4581
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4582
* def title = get response //citation/CI_Citation/title/CharacterString
1
4583
* def email = get response //electronicMailAddress/CharacterString
1
4584
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4585
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4586
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4587
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
4588
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
4589
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
4590
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
4591
* print connectUrl
0
15:15:20.451 [print] https://inspire.rivm.nl/geoserver/wfs?request=GetCapabilities
4592
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4593
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4594
* print organisationpath
0
15:15:20.452 [print] Rijksinstituut voor Volksgezondheid en Milieu
4595
* print operateson
0
15:15:20.452 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f#MD_DataIdentification
4596
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4597
* eval db.writeln('"37308f90-e619-4b62-ae9e-e656bb3f1649","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4598
* eval db.writeln('"37308f90-e619-4b62-ae9e-e656bb3f1649","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.122:18]72f30ca1-3b80-4020-b9ed-301b1a88df39
ms: 302
>>
Background:
4599
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
4600
* def mystorage = Java.type('storage.DataStorage')
1
4601
* def db = new mystorage
1
4602
* def db = db.setfeature(karate.info.featureFileName)
1
4603
* def separator = java.lang.System.getProperty("file.separator")
1
4604
* def outputpath = db.outputpath()
1
4605
* eval db.ensureDirectory(outputpath)
1
4606
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4607
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4608
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4609
Given path 'geonetwork/srv/dut/inspire'
0
4610
And param service = 'CSW'
0
4611
And param version = '2.0.2'
0
4612
And param request = 'GetRecordById'
0
4613
And param id = '72f30ca1-3b80-4020-b9ed-301b1a88df39'
0
4614
And param elementsetname = 'full'
0
4615
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4616
When method get
290
4617
Then status 200
0
4618
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '72f30ca1-3b80-4020-b9ed-301b1a88df39'
1
4619
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4620
* def title = get response //citation/CI_Citation/title/CharacterString
1
4621
* def email = get response //electronicMailAddress/CharacterString
1
4622
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4623
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4624
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4625
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4626
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4627
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4628
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
4629
* print connectUrl
0
15:15:20.500 [print] https://inspire.rivm.nl/geoserver/wfs?request=GetCapabilities
4630
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4631
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4632
* print organisationpath
0
15:15:20.501 [print] Rijksinstituut voor Volksgezondheid en Milieu
4633
* print operateson
0
15:15:20.501 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=588a4cb1-b442-4ac1-87e4-40401e353166#MD_DataIdentification
4634
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4635
* eval db.writeln('"72f30ca1-3b80-4020-b9ed-301b1a88df39","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4636
* eval db.writeln('"72f30ca1-3b80-4020-b9ed-301b1a88df39","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.123:18]f59357eb-185f-42a5-b465-90bfa6e3e416
ms: 346
>>
Background:
4637
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
4638
* def mystorage = Java.type('storage.DataStorage')
1
4639
* def db = new mystorage
1
4640
* def db = db.setfeature(karate.info.featureFileName)
1
4641
* def separator = java.lang.System.getProperty("file.separator")
1
4642
* def outputpath = db.outputpath()
1
4643
* eval db.ensureDirectory(outputpath)
1
4644
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4645
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4646
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4647
Given path 'geonetwork/srv/dut/inspire'
0
4648
And param service = 'CSW'
0
4649
And param version = '2.0.2'
0
4650
And param request = 'GetRecordById'
0
4651
And param id = 'f59357eb-185f-42a5-b465-90bfa6e3e416'
0
4652
And param elementsetname = 'full'
0
4653
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4654
When method get
334
4655
Then status 200
0
4656
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f59357eb-185f-42a5-b465-90bfa6e3e416'
1
4657
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4658
* def title = get response //citation/CI_Citation/title/CharacterString
1
4659
* def email = get response //electronicMailAddress/CharacterString
0
4660
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4661
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4662
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4663
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4664
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4665
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4666
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
4667
* print connectUrl
0
15:15:20.716 [print] https://inspire.rivm.nl/geoserver/wfs?request=GetCapabilities
4668
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4669
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4670
* print organisationpath
0
15:15:20.717 [print] Rijksinstituut voor Volksgezondheid en Milieu
4671
* print operateson
0
15:15:20.717 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=32a21114-8694-40ce-ab76-9dcd885c7861#MD_DataIdentification
4672
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4673
* eval db.writeln('"f59357eb-185f-42a5-b465-90bfa6e3e416","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4674
* eval db.writeln('"f59357eb-185f-42a5-b465-90bfa6e3e416","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.124:18]93a9571d-1754-47ee-a8f9-92633abfab3a
ms: 362
>>
Background:
4675
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
4676
* def mystorage = Java.type('storage.DataStorage')
1
4677
* def db = new mystorage
1
4678
* def db = db.setfeature(karate.info.featureFileName)
1
4679
* def separator = java.lang.System.getProperty("file.separator")
1
4680
* def outputpath = db.outputpath()
1
4681
* eval db.ensureDirectory(outputpath)
1
4682
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4683
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4684
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4685
Given path 'geonetwork/srv/dut/inspire'
0
4686
And param service = 'CSW'
0
4687
And param version = '2.0.2'
0
4688
And param request = 'GetRecordById'
0
4689
And param id = '93a9571d-1754-47ee-a8f9-92633abfab3a'
0
4690
And param elementsetname = 'full'
0
4691
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4692
When method get
352
4693
Then status 200
0
4694
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '93a9571d-1754-47ee-a8f9-92633abfab3a'
1
4695
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4696
* def title = get response //citation/CI_Citation/title/CharacterString
0
4697
* def email = get response //electronicMailAddress/CharacterString
1
4698
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4699
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4700
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4701
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4702
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4703
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4704
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
4705
* print connectUrl
0
15:15:20.756 [print] https://geodata.nationaalgeoregister.nl/rvo/invasieve-exoten/wfs/v1_0?request=GetCapabilities&service=WFS
4706
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4707
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4708
* print organisationpath
0
15:15:20.757 [print] Beheer PDOK
4709
* print operateson
0
15:15:20.757 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=3703b249-a0eb-484e-ba7a-10e31a55bcec&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
4710
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4711
* eval db.writeln('"93a9571d-1754-47ee-a8f9-92633abfab3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4712
* eval db.writeln('"93a9571d-1754-47ee-a8f9-92633abfab3a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.125:18]23aa5150-fcc7-46ea-ae63-a7f198d8bc18
ms: 347
>>
Background:
4713
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
4714
* def mystorage = Java.type('storage.DataStorage')
1
4715
* def db = new mystorage
1
4716
* def db = db.setfeature(karate.info.featureFileName)
1
4717
* def separator = java.lang.System.getProperty("file.separator")
1
4718
* def outputpath = db.outputpath()
1
4719
* eval db.ensureDirectory(outputpath)
1
4720
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4721
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4722
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4723
Given path 'geonetwork/srv/dut/inspire'
0
4724
And param service = 'CSW'
0
4725
And param version = '2.0.2'
0
4726
And param request = 'GetRecordById'
0
4727
And param id = '23aa5150-fcc7-46ea-ae63-a7f198d8bc18'
0
4728
And param elementsetname = 'full'
0
4729
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4730
When method get
329
4731
Then status 200
0
4732
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '23aa5150-fcc7-46ea-ae63-a7f198d8bc18'
1
4733
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4734
* def title = get response //citation/CI_Citation/title/CharacterString
1
4735
* def email = get response //electronicMailAddress/CharacterString
1
4736
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4737
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4738
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4739
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4740
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4741
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4742
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
4743
* print connectUrl
3
15:15:20.793 [print] https://inspire.rivm.nl/geoserver/airq/wms?request=GetCapabilities
4744
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4745
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4746
* print organisationpath
0
15:15:20.797 [print] Rijksinstituut voor Volksgezondheid en Milieu
4747
* print operateson
2
15:15:20.799 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2cc2c30c-91b8-412a-a060-e84d25272581#MD_DataIdentification
4748
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
4749
* eval db.writeln('"23aa5150-fcc7-46ea-ae63-a7f198d8bc18","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4750
* eval db.writeln('"23aa5150-fcc7-46ea-ae63-a7f198d8bc18","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.126:18]f61eec5c-cb91-40b6-ad35-9bca967006cc
ms: 324
>>
Background:
4751
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
4752
* def mystorage = Java.type('storage.DataStorage')
1
4753
* def db = new mystorage
1
4754
* def db = db.setfeature(karate.info.featureFileName)
1
4755
* def separator = java.lang.System.getProperty("file.separator")
1
4756
* def outputpath = db.outputpath()
1
4757
* eval db.ensureDirectory(outputpath)
1
4758
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4759
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4760
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4761
Given path 'geonetwork/srv/dut/inspire'
0
4762
And param service = 'CSW'
0
4763
And param version = '2.0.2'
0
4764
And param request = 'GetRecordById'
0
4765
And param id = 'f61eec5c-cb91-40b6-ad35-9bca967006cc'
1
4766
And param elementsetname = 'full'
0
4767
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4768
When method get
313
4769
Then status 200
0
4770
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f61eec5c-cb91-40b6-ad35-9bca967006cc'
1
4771
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4772
* def title = get response //citation/CI_Citation/title/CharacterString
1
4773
* def email = get response //electronicMailAddress/CharacterString
0
4774
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4775
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4776
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4777
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4778
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4779
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4780
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
4781
* print connectUrl
0
15:15:20.825 [print] https://inspire.rivm.nl/geoserver/wms?request=GetCapabilities
4782
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4783
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4784
* print organisationpath
0
15:15:20.826 [print] Rijksinstituut voor Volksgezondheid en Milieu
4785
* print operateson
0
15:15:20.826 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=588a4cb1-b442-4ac1-87e4-40401e353166#MD_DataIdentification
4786
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
4787
* eval db.writeln('"f61eec5c-cb91-40b6-ad35-9bca967006cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
4788
* eval db.writeln('"f61eec5c-cb91-40b6-ad35-9bca967006cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.127:18]c21c6bf5-8899-4b46-8986-0f65eca05ed0
ms: 287
>>
Background:
4789
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
4790
* def mystorage = Java.type('storage.DataStorage')
1
4791
* def db = new mystorage
1
4792
* def db = db.setfeature(karate.info.featureFileName)
1
4793
* def separator = java.lang.System.getProperty("file.separator")
1
4794
* def outputpath = db.outputpath()
1
4795
* eval db.ensureDirectory(outputpath)
1
4796
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4797
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4798
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4799
Given path 'geonetwork/srv/dut/inspire'
1
4800
And param service = 'CSW'
0
4801
And param version = '2.0.2'
0
4802
And param request = 'GetRecordById'
0
4803
And param id = 'c21c6bf5-8899-4b46-8986-0f65eca05ed0'
1
4804
And param elementsetname = 'full'
0
4805
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4806
When method get
274
4807
Then status 200
0
4808
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c21c6bf5-8899-4b46-8986-0f65eca05ed0'
1
4809
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4810
* def title = get response //citation/CI_Citation/title/CharacterString
0
4811
* def email = get response //electronicMailAddress/CharacterString
0
4812
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4813
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4814
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4815
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4816
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4817
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4818
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
4819
* print connectUrl
0
15:15:21.002 [print] https://geodata.nationaalgeoregister.nl/rws/richtlijnstedelijkafvalwater2015/atom/v1_0/index.xml
4820
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
4821
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
4822
* print organisationpath
0
15:15:21.004 [print] Beheer PDOK
4823
* print operateson
0
15:15:21.004 [print] [
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e2#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e1#MD_DataIdentification"
]
4824
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4825
* eval db.writeln('"c21c6bf5-8899-4b46-8986-0f65eca05ed0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4826
* eval db.writeln('"c21c6bf5-8899-4b46-8986-0f65eca05ed0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.128:18]0898d4a9-8fe6-46e9-8855-1242d8028970
ms: 301
>>
Background:
4827
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
4828
* def mystorage = Java.type('storage.DataStorage')
1
4829
* def db = new mystorage
1
4830
* def db = db.setfeature(karate.info.featureFileName)
1
4831
* def separator = java.lang.System.getProperty("file.separator")
1
4832
* def outputpath = db.outputpath()
1
4833
* eval db.ensureDirectory(outputpath)
1
4834
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4835
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4836
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4837
Given path 'geonetwork/srv/dut/inspire'
0
4838
And param service = 'CSW'
0
4839
And param version = '2.0.2'
0
4840
And param request = 'GetRecordById'
0
4841
And param id = '0898d4a9-8fe6-46e9-8855-1242d8028970'
0
4842
And param elementsetname = 'full'
0
4843
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4844
When method get
284
4845
Then status 200
0
4846
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0898d4a9-8fe6-46e9-8855-1242d8028970'
1
4847
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4848
* def title = get response //citation/CI_Citation/title/CharacterString
0
4849
* def email = get response //electronicMailAddress/CharacterString
0
4850
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4851
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4852
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4853
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4854
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4855
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4856
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
4857
* print connectUrl
0
15:15:21.052 [print] https://geodata.nationaalgeoregister.nl/rws/richtlijnoverstromingsrisico2018/atom/v1_0/index.xml
4858
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4859
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4860
* print organisationpath
0
15:15:21.053 [print] Beheer PDOK
4861
* print operateson
0
15:15:21.053 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=ror-9d8e-4758-83fx-28b057f185f1#MD_DataIdentification
4862
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4863
* eval db.writeln('"0898d4a9-8fe6-46e9-8855-1242d8028970","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
8
4864
* eval db.writeln('"0898d4a9-8fe6-46e9-8855-1242d8028970","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.129:18]wt-83730-e750-485a-9c0c-39bf9bt72cf8
ms: 290
>>
Background:
4865
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
4866
* def mystorage = Java.type('storage.DataStorage')
1
4867
* def db = new mystorage
1
4868
* def db = db.setfeature(karate.info.featureFileName)
1
4869
* def separator = java.lang.System.getProperty("file.separator")
1
4870
* def outputpath = db.outputpath()
1
4871
* eval db.ensureDirectory(outputpath)
1
4872
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4873
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4874
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4875
Given path 'geonetwork/srv/dut/inspire'
0
4876
And param service = 'CSW'
0
4877
And param version = '2.0.2'
0
4878
And param request = 'GetRecordById'
0
4879
And param id = 'wt-83730-e750-485a-9c0c-39bf9bt72cf8'
1
4880
And param elementsetname = 'full'
0
4881
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4882
When method get
275
4883
Then status 200
0
4884
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-83730-e750-485a-9c0c-39bf9bt72cf8'
1
4885
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
4886
* def title = get response //citation/CI_Citation/title/CharacterString
0
4887
* def email = get response //electronicMailAddress/CharacterString
0
4888
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4889
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
4890
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4891
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4892
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4893
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4894
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
4895
* print connectUrl
0
15:15:21.085 [print] https://haleconnect.com/services/bsp/org.292.504afbe6-0069-411b-b69b-2aae3728f735/service/atom/id_predefined_dataset
4896
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4897
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4898
* print organisationpath
0
15:15:21.086 [print] Rijkswaterstaat
4899
* print operateson
0
15:15:21.086 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-83730-e750-485a-9c0c-39bf9be72cf8#MD_DataIdentification
4900
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
5
4901
* eval db.writeln('"wt-83730-e750-485a-9c0c-39bf9bt72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4902
* eval db.writeln('"wt-83730-e750-485a-9c0c-39bf9bt72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.130:18]wt-f5eb-b09f-4f6d-8397-8878a1t86238
ms: 303
>>
Background:
4903
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
4904
* def mystorage = Java.type('storage.DataStorage')
1
4905
* def db = new mystorage
1
4906
* def db = db.setfeature(karate.info.featureFileName)
1
4907
* def separator = java.lang.System.getProperty("file.separator")
1
4908
* def outputpath = db.outputpath()
1
4909
* eval db.ensureDirectory(outputpath)
1
4910
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4911
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4912
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4913
Given path 'geonetwork/srv/dut/inspire'
1
4914
And param service = 'CSW'
0
4915
And param version = '2.0.2'
0
4916
And param request = 'GetRecordById'
0
4917
And param id = 'wt-f5eb-b09f-4f6d-8397-8878a1t86238'
0
4918
And param elementsetname = 'full'
0
4919
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4920
When method get
291
4921
Then status 200
0
4922
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-f5eb-b09f-4f6d-8397-8878a1t86238'
1
4923
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4924
* def title = get response //citation/CI_Citation/title/CharacterString
1
4925
* def email = get response //electronicMailAddress/CharacterString
1
4926
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4927
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4928
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4929
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4930
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4931
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4932
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
4933
* print connectUrl
0
15:15:21.129 [print] https://haleconnect.com/services/bsp/org.292.42527b86-52a7-4b94-9f83-8e8a9e900f5a/service/atom/id_predefined_dataset
4934
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4935
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4936
* print organisationpath
0
15:15:21.130 [print] Rijkswaterstaat
4937
* print operateson
0
15:15:21.130 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-f5eb-b09f-4f6d-8397-8878a1b86238#MD_DataIdentification
4938
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4939
* eval db.writeln('"wt-f5eb-b09f-4f6d-8397-8878a1t86238","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
4940
* eval db.writeln('"wt-f5eb-b09f-4f6d-8397-8878a1t86238","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.131:18]224d93f6-0e4e-41fe-8424-1ab11a6c55ed
ms: 289
>>
Background:
4941
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
4942
* def mystorage = Java.type('storage.DataStorage')
1
4943
* def db = new mystorage
1
4944
* def db = db.setfeature(karate.info.featureFileName)
1
4945
* def separator = java.lang.System.getProperty("file.separator")
1
4946
* def outputpath = db.outputpath()
1
4947
* eval db.ensureDirectory(outputpath)
1
4948
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4949
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4950
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4951
Given path 'geonetwork/srv/dut/inspire'
1
4952
And param service = 'CSW'
0
4953
And param version = '2.0.2'
0
4954
And param request = 'GetRecordById'
0
4955
And param id = '224d93f6-0e4e-41fe-8424-1ab11a6c55ed'
0
4956
And param elementsetname = 'full'
0
4957
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4958
When method get
277
4959
Then status 200
0
4960
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '224d93f6-0e4e-41fe-8424-1ab11a6c55ed'
1
4961
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
4962
* def title = get response //citation/CI_Citation/title/CharacterString
1
4963
* def email = get response //electronicMailAddress/CharacterString
0
4964
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
4965
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
4966
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
4967
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
4968
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
4969
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
4970
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
4971
* print connectUrl
0
15:15:21.295 [print] https://inspire.rivm.nl/geoserver/wfs?request=GetCapabilities
4972
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
4973
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
4974
* print organisationpath
0
15:15:21.296 [print] Rijksinstituut voor Volksgezondheid en Milieu
4975
* print operateson
0
15:15:21.296 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=36a7e8cb-8300-4602-93d2-135943365a6f#MD_DataIdentification
4976
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
4977
* eval db.writeln('"224d93f6-0e4e-41fe-8424-1ab11a6c55ed","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
4978
* eval db.writeln('"224d93f6-0e4e-41fe-8424-1ab11a6c55ed","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.132:18]9fd2324b-9e02-4eab-bd4a-8e2be4fcd545
ms: 351
>>
Background:
4979
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
4980
* def mystorage = Java.type('storage.DataStorage')
1
4981
* def db = new mystorage
1
4982
* def db = db.setfeature(karate.info.featureFileName)
1
4983
* def separator = java.lang.System.getProperty("file.separator")
1
4984
* def outputpath = db.outputpath()
1
4985
* eval db.ensureDirectory(outputpath)
1
4986
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
4987
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
4988
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
4989
Given path 'geonetwork/srv/dut/inspire'
0
4990
And param service = 'CSW'
0
4991
And param version = '2.0.2'
0
4992
And param request = 'GetRecordById'
0
4993
And param id = '9fd2324b-9e02-4eab-bd4a-8e2be4fcd545'
0
4994
And param elementsetname = 'full'
0
4995
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
4996
When method get
298
4997
Then status 200
0
4998
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9fd2324b-9e02-4eab-bd4a-8e2be4fcd545'
1
4999
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5000
* def title = get response //citation/CI_Citation/title/CharacterString
0
5001
* def email = get response //electronicMailAddress/CharacterString
0
5002
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
42
5003
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5004
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5005
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5006
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5007
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5008
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
5009
* print connectUrl
0
15:15:21.409 [print] https://inspire.rivm.nl/geoserver/airq/wfs?request=GetCapabilities
5010
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5011
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5012
* print organisationpath
0
15:15:21.410 [print] Rijksinstituut voor Volksgezondheid en Milieu
5013
* print operateson
0
15:15:21.410 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2cc2c30c-91b8-412a-a060-e84d25272581#MD_DataIdentification
5014
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5015
* eval db.writeln('"9fd2324b-9e02-4eab-bd4a-8e2be4fcd545","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5016
* eval db.writeln('"9fd2324b-9e02-4eab-bd4a-8e2be4fcd545","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.133:18]ff8f6da2-949e-4838-90f6-fd895a4a240f
ms: 326
>>
Background:
5017
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
5018
* def mystorage = Java.type('storage.DataStorage')
1
5019
* def db = new mystorage
1
5020
* def db = db.setfeature(karate.info.featureFileName)
1
5021
* def separator = java.lang.System.getProperty("file.separator")
1
5022
* def outputpath = db.outputpath()
1
5023
* eval db.ensureDirectory(outputpath)
1
5024
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5025
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5026
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5027
Given path 'geonetwork/srv/dut/inspire'
0
5028
And param service = 'CSW'
0
5029
And param version = '2.0.2'
0
5030
And param request = 'GetRecordById'
0
5031
And param id = 'ff8f6da2-949e-4838-90f6-fd895a4a240f'
0
5032
And param elementsetname = 'full'
0
5033
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5034
When method get
310
5035
Then status 200
0
5036
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ff8f6da2-949e-4838-90f6-fd895a4a240f'
5
5037
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5038
* def title = get response //citation/CI_Citation/title/CharacterString
0
5039
* def email = get response //electronicMailAddress/CharacterString
0
5040
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5041
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5042
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
1
5043
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5044
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5045
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5046
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
1
5047
* print connectUrl
0
15:15:21.417 [print] https://inspire.rivm.nl/geoserver/wfs?request=GetCapabilities
5048
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5049
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5050
* print organisationpath
0
15:15:21.418 [print] Rijksinstituut voor Volksgezondheid en Milieu
5051
* print operateson
0
15:15:21.418 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d24ccb35-e9d2-41bf-b231-43083fc0c76d#MD_DataIdentification
5052
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5053
* eval db.writeln('"ff8f6da2-949e-4838-90f6-fd895a4a240f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5054
* eval db.writeln('"ff8f6da2-949e-4838-90f6-fd895a4a240f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.134:18]243c6401-9ed1-4cdd-b9a7-caff08813ce4
ms: 313
>>
Background:
5055
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
5056
* def mystorage = Java.type('storage.DataStorage')
1
5057
* def db = new mystorage
1
5058
* def db = db.setfeature(karate.info.featureFileName)
1
5059
* def separator = java.lang.System.getProperty("file.separator")
1
5060
* def outputpath = db.outputpath()
1
5061
* eval db.ensureDirectory(outputpath)
1
5062
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5063
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5064
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5065
Given path 'geonetwork/srv/dut/inspire'
3
5066
And param service = 'CSW'
0
5067
And param version = '2.0.2'
0
5068
And param request = 'GetRecordById'
0
5069
And param id = '243c6401-9ed1-4cdd-b9a7-caff08813ce4'
1
5070
And param elementsetname = 'full'
0
5071
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5072
When method get
301
5073
Then status 200
0
5074
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '243c6401-9ed1-4cdd-b9a7-caff08813ce4'
0
5075
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5076
* def title = get response //citation/CI_Citation/title/CharacterString
0
5077
* def email = get response //electronicMailAddress/CharacterString
0
5078
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
5079
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5080
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5081
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5082
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5083
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5084
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
5085
* print connectUrl
0
15:15:21.443 [print] https://inspire.caris.nl/atom/maritieme-grenzen-zones-noordzee-EEZ-volgens-UNCLOS-feed.atom
5086
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5087
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5088
* print organisationpath
0
15:15:21.444 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
5089
* print operateson
0
15:15:21.444 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e8b84fae-00b3-49c1-80c1-df8f69f64e8c#MD_DataIdentification
5090
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5091
* eval db.writeln('"243c6401-9ed1-4cdd-b9a7-caff08813ce4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5092
* eval db.writeln('"243c6401-9ed1-4cdd-b9a7-caff08813ce4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.135:18]b4485d59-a945-4940-a2f5-3ce7de6a947b
ms: 310
>>
Background:
5093
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
5094
* def mystorage = Java.type('storage.DataStorage')
1
5095
* def db = new mystorage
1
5096
* def db = db.setfeature(karate.info.featureFileName)
1
5097
* def separator = java.lang.System.getProperty("file.separator")
1
5098
* def outputpath = db.outputpath()
1
5099
* eval db.ensureDirectory(outputpath)
1
5100
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5101
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5102
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5103
Given path 'geonetwork/srv/dut/inspire'
1
5104
And param service = 'CSW'
0
5105
And param version = '2.0.2'
0
5106
And param request = 'GetRecordById'
0
5107
And param id = 'b4485d59-a945-4940-a2f5-3ce7de6a947b'
0
5108
And param elementsetname = 'full'
0
5109
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5110
When method get
297
5111
Then status 200
0
5112
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b4485d59-a945-4940-a2f5-3ce7de6a947b'
1
5113
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5114
* def title = get response //citation/CI_Citation/title/CharacterString
1
5115
* def email = get response //electronicMailAddress/CharacterString
1
5116
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5117
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5118
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5119
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
5120
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5121
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5122
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
5123
* print connectUrl
0
15:15:21.605 [print] https://inspire.rivm.nl/geoserver/wfs?request=GetCapabilities
5124
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5125
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5126
* print organisationpath
0
15:15:21.606 [print] Rijksinstituut voor Volksgezondheid en Milieu
5127
* print operateson
0
15:15:21.606 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b3f66964-a8c1-456f-9799-9cafca2cb7b1#MD_DataIdentification
5128
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5129
* eval db.writeln('"b4485d59-a945-4940-a2f5-3ce7de6a947b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5130
* eval db.writeln('"b4485d59-a945-4940-a2f5-3ce7de6a947b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.136:18]5255c080-5f4e-4f7a-8a2c-6ac9d0103288
ms: 295
>>
Background:
5131
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
5132
* def mystorage = Java.type('storage.DataStorage')
1
5133
* def db = new mystorage
1
5134
* def db = db.setfeature(karate.info.featureFileName)
1
5135
* def separator = java.lang.System.getProperty("file.separator")
1
5136
* def outputpath = db.outputpath()
1
5137
* eval db.ensureDirectory(outputpath)
1
5138
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5139
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5140
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5141
Given path 'geonetwork/srv/dut/inspire'
0
5142
And param service = 'CSW'
0
5143
And param version = '2.0.2'
0
5144
And param request = 'GetRecordById'
0
5145
And param id = '5255c080-5f4e-4f7a-8a2c-6ac9d0103288'
0
5146
And param elementsetname = 'full'
0
5147
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5148
When method get
282
5149
Then status 200
0
5150
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5255c080-5f4e-4f7a-8a2c-6ac9d0103288'
1
5151
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5152
* def title = get response //citation/CI_Citation/title/CharacterString
1
5153
* def email = get response //electronicMailAddress/CharacterString
1
5154
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5155
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5156
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5157
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
5158
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
5159
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5160
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
5161
* print connectUrl
0
15:15:21.706 [print] https://inspire.rivm.nl/geoserver/wfs?request=GetCapabilities
5162
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5163
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5164
* print organisationpath
0
15:15:21.707 [print] Rijksinstituut voor Volksgezondheid en Milieu
5165
* print operateson
0
15:15:21.707 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f8d840bc-18df-4449-b797-b9adcb81d3ec#MD_DataIdentification
5166
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5167
* eval db.writeln('"5255c080-5f4e-4f7a-8a2c-6ac9d0103288","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5168
* eval db.writeln('"5255c080-5f4e-4f7a-8a2c-6ac9d0103288","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.137:18]0606e8cb-fa51-402c-a3be-19fd724b0a10
ms: 351
>>
Background:
5169
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
5170
* def mystorage = Java.type('storage.DataStorage')
1
5171
* def db = new mystorage
1
5172
* def db = db.setfeature(karate.info.featureFileName)
1
5173
* def separator = java.lang.System.getProperty("file.separator")
1
5174
* def outputpath = db.outputpath()
1
5175
* eval db.ensureDirectory(outputpath)
1
5176
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5177
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5178
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5179
Given path 'geonetwork/srv/dut/inspire'
0
5180
And param service = 'CSW'
0
5181
And param version = '2.0.2'
0
5182
And param request = 'GetRecordById'
0
5183
And param id = '0606e8cb-fa51-402c-a3be-19fd724b0a10'
0
5184
And param elementsetname = 'full'
0
5185
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5186
When method get
339
5187
Then status 200
0
5188
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0606e8cb-fa51-402c-a3be-19fd724b0a10'
1
5189
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5190
* def title = get response //citation/CI_Citation/title/CharacterString
1
5191
* def email = get response //electronicMailAddress/CharacterString
1
5192
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5193
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5194
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5195
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5196
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5197
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5198
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
5199
* print connectUrl
0
15:15:21.768 [print] https://inspire.rivm.nl/geoserver/wfs?request=GetCapabilities
5200
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5201
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5202
* print organisationpath
0
15:15:21.769 [print] Rijksinstituut voor Volksgezondheid en Milieu
5203
* print operateson
0
15:15:21.769 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f2f86edf-ac3a-48e8-9292-0544da2d7645#MD_DataIdentification
5204
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5205
* eval db.writeln('"0606e8cb-fa51-402c-a3be-19fd724b0a10","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5206
* eval db.writeln('"0606e8cb-fa51-402c-a3be-19fd724b0a10","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.138:18]a931e334-b752-4935-8a98-00eddc443789
ms: 364
>>
Background:
5207
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
5208
* def mystorage = Java.type('storage.DataStorage')
1
5209
* def db = new mystorage
1
5210
* def db = db.setfeature(karate.info.featureFileName)
1
5211
* def separator = java.lang.System.getProperty("file.separator")
1
5212
* def outputpath = db.outputpath()
1
5213
* eval db.ensureDirectory(outputpath)
1
5214
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5215
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5216
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5217
Given path 'geonetwork/srv/dut/inspire'
0
5218
And param service = 'CSW'
0
5219
And param version = '2.0.2'
0
5220
And param request = 'GetRecordById'
0
5221
And param id = 'a931e334-b752-4935-8a98-00eddc443789'
0
5222
And param elementsetname = 'full'
0
5223
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5224
When method get
351
5225
Then status 200
0
5226
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a931e334-b752-4935-8a98-00eddc443789'
1
5227
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5228
* def title = get response //citation/CI_Citation/title/CharacterString
1
5229
* def email = get response //electronicMailAddress/CharacterString
1
5230
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5231
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5232
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5233
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5234
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5235
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5236
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
5237
* print connectUrl
0
15:15:21.805 [print] https://inspire.rivm.nl/geoserver/wfs?request=GetCapabilities
5238
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5239
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5240
* print organisationpath
0
15:15:21.806 [print] Rijksinstituut voor Volksgezondheid en Milieu
5241
* print operateson
0
15:15:21.807 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6#MD_DataIdentification
5242
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5243
* eval db.writeln('"a931e334-b752-4935-8a98-00eddc443789","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5244
* eval db.writeln('"a931e334-b752-4935-8a98-00eddc443789","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.139:18]01572637-b851-4cc3-b06a-56c1ae1115cc
ms: 292
>>
Background:
5245
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
5246
* def mystorage = Java.type('storage.DataStorage')
1
5247
* def db = new mystorage
1
5248
* def db = db.setfeature(karate.info.featureFileName)
1
5249
* def separator = java.lang.System.getProperty("file.separator")
1
5250
* def outputpath = db.outputpath()
1
5251
* eval db.ensureDirectory(outputpath)
1
5252
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5253
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5254
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5255
Given path 'geonetwork/srv/dut/inspire'
1
5256
And param service = 'CSW'
0
5257
And param version = '2.0.2'
0
5258
And param request = 'GetRecordById'
0
5259
And param id = '01572637-b851-4cc3-b06a-56c1ae1115cc'
0
5260
And param elementsetname = 'full'
0
5261
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5262
When method get
276
5263
Then status 200
0
5264
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '01572637-b851-4cc3-b06a-56c1ae1115cc'
1
5265
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5266
* def title = get response //citation/CI_Citation/title/CharacterString
1
5267
* def email = get response //electronicMailAddress/CharacterString
1
5268
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
4
5269
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5270
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5271
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
5272
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
5273
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5274
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
5275
* print connectUrl
0
15:15:21.898 [print] https://inspire.rivm.nl/geoserver/wfs?request=GetCapabilities
5276
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5277
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5278
* print organisationpath
0
15:15:21.899 [print] Rijksinstituut voor Volksgezondheid en Milieu
5279
* print operateson
0
15:15:21.899 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d9baa847-4652-4588-abe1-0b050f40f27f#MD_DataIdentification
5280
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5281
* eval db.writeln('"01572637-b851-4cc3-b06a-56c1ae1115cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5282
* eval db.writeln('"01572637-b851-4cc3-b06a-56c1ae1115cc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.140:18]5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5
ms: 303
>>
Background:
5283
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
5284
* def mystorage = Java.type('storage.DataStorage')
1
5285
* def db = new mystorage
1
5286
* def db = db.setfeature(karate.info.featureFileName)
1
5287
* def separator = java.lang.System.getProperty("file.separator")
1
5288
* def outputpath = db.outputpath()
1
5289
* eval db.ensureDirectory(outputpath)
1
5290
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5291
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5292
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5293
Given path 'geonetwork/srv/dut/inspire'
1
5294
And param service = 'CSW'
0
5295
And param version = '2.0.2'
0
5296
And param request = 'GetRecordById'
0
5297
And param id = '5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5'
0
5298
And param elementsetname = 'full'
0
5299
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5300
When method get
288
5301
Then status 200
0
5302
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5'
1
5303
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5304
* def title = get response //citation/CI_Citation/title/CharacterString
1
5305
* def email = get response //electronicMailAddress/CharacterString
1
5306
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5307
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5308
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5309
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
5310
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
5311
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
5312
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
5313
* print connectUrl
0
15:15:22.008 [print] https://inspire.rivm.nl/geoserver/wfs?request=GetCapabilities
5314
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
5315
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5316
* print organisationpath
0
15:15:22.010 [print] Rijksinstituut voor Volksgezondheid en Milieu
5317
* print operateson
0
15:15:22.010 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e1e99000-ec47-4e9f-84a5-adad24fef0dc#MD_DataIdentification
5318
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5319
* eval db.writeln('"5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5320
* eval db.writeln('"5d3fc8f8-5cb4-42e2-8f9b-62c147f36cc5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.141:18]2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0
ms: 305
>>
Background:
5321
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
5322
* def mystorage = Java.type('storage.DataStorage')
1
5323
* def db = new mystorage
1
5324
* def db = db.setfeature(karate.info.featureFileName)
1
5325
* def separator = java.lang.System.getProperty("file.separator")
1
5326
* def outputpath = db.outputpath()
1
5327
* eval db.ensureDirectory(outputpath)
1
5328
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5329
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5330
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5331
Given path 'geonetwork/srv/dut/inspire'
0
5332
And param service = 'CSW'
0
5333
And param version = '2.0.2'
0
5334
And param request = 'GetRecordById'
0
5335
And param id = '2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0'
0
5336
And param elementsetname = 'full'
0
5337
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5338
When method get
294
5339
Then status 200
0
5340
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0'
1
5341
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5342
* def title = get response //citation/CI_Citation/title/CharacterString
1
5343
* def email = get response //electronicMailAddress/CharacterString
0
5344
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
5345
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5346
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5347
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5348
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5349
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5350
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
5351
* print connectUrl
0
15:15:22.073 [print] https://geodata.nationaalgeoregister.nl/rws/richtlijnoverstromingsrisico2018/wms/v1_0?request=GetCapabilities&service=WMS
5352
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5353
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5354
* print organisationpath
0
15:15:22.074 [print] Beheer PDOK
5355
* print operateson
0
15:15:22.074 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=ror-9d8e-4758-83fx-28b057f185g1#MD_DataIdentification
5356
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5357
* eval db.writeln('"2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5358
* eval db.writeln('"2ca26f5e-0b39-48a4-9e8d-7b9ffde9a5b0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.142:18]060d1139-c371-4c1e-9890-55999adfa4f9
ms: 301
>>
Background:
5359
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
5360
* def mystorage = Java.type('storage.DataStorage')
1
5361
* def db = new mystorage
1
5362
* def db = db.setfeature(karate.info.featureFileName)
1
5363
* def separator = java.lang.System.getProperty("file.separator")
1
5364
* def outputpath = db.outputpath()
1
5365
* eval db.ensureDirectory(outputpath)
1
5366
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5367
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5368
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5369
Given path 'geonetwork/srv/dut/inspire'
0
5370
And param service = 'CSW'
0
5371
And param version = '2.0.2'
0
5372
And param request = 'GetRecordById'
0
5373
And param id = '060d1139-c371-4c1e-9890-55999adfa4f9'
0
5374
And param elementsetname = 'full'
0
5375
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5376
When method get
290
5377
Then status 200
0
5378
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '060d1139-c371-4c1e-9890-55999adfa4f9'
0
5379
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5380
* def title = get response //citation/CI_Citation/title/CharacterString
0
5381
* def email = get response //electronicMailAddress/CharacterString
0
5382
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5383
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5384
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5385
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5386
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5387
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5388
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
5389
* print connectUrl
0
15:15:22.108 [print] https://inspire.caris.nl/geoserver/auwms/wms?request=GetCapabilities
5390
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5391
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5392
* print organisationpath
0
15:15:22.110 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
5393
* print operateson
0
15:15:22.110 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=a5241416-8401-4623-be61-57ef50447a41&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
5394
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5395
* eval db.writeln('"060d1139-c371-4c1e-9890-55999adfa4f9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5396
* eval db.writeln('"060d1139-c371-4c1e-9890-55999adfa4f9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.143:18]c7dad4b9-42a8-452f-a33b-d4938ed22142
ms: 286
>>
Background:
5397
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
5398
* def mystorage = Java.type('storage.DataStorage')
1
5399
* def db = new mystorage
1
5400
* def db = db.setfeature(karate.info.featureFileName)
1
5401
* def separator = java.lang.System.getProperty("file.separator")
1
5402
* def outputpath = db.outputpath()
1
5403
* eval db.ensureDirectory(outputpath)
1
5404
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5405
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5406
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5407
Given path 'geonetwork/srv/dut/inspire'
0
5408
And param service = 'CSW'
0
5409
And param version = '2.0.2'
0
5410
And param request = 'GetRecordById'
0
5411
And param id = 'c7dad4b9-42a8-452f-a33b-d4938ed22142'
1
5412
And param elementsetname = 'full'
0
5413
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5414
When method get
277
5415
Then status 200
0
5416
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c7dad4b9-42a8-452f-a33b-d4938ed22142'
0
5417
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5418
* def title = get response //citation/CI_Citation/title/CharacterString
0
5419
* def email = get response //electronicMailAddress/CharacterString
0
5420
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
5421
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5422
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5423
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5424
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5425
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5426
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
5427
* print connectUrl
0
15:15:22.186 [print] https://inspire.caris.nl/gs5/MarineRegion/ows?service=WFS&version=2.0.0&request=GetCapabilities
5428
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5429
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5430
* print organisationpath
1
15:15:22.187 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
5431
* print operateson
0
15:15:22.187 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f44dac86-2228-412f-8355-e56446ca9933#MD_DataIdentification
5432
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5433
* eval db.writeln('"c7dad4b9-42a8-452f-a33b-d4938ed22142","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5434
* eval db.writeln('"c7dad4b9-42a8-452f-a33b-d4938ed22142","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.144:18]e9ba7d7f-6cd1-4271-bce4-56432924b338
ms: 295
>>
Background:
5435
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
5436
* def mystorage = Java.type('storage.DataStorage')
1
5437
* def db = new mystorage
1
5438
* def db = db.setfeature(karate.info.featureFileName)
1
5439
* def separator = java.lang.System.getProperty("file.separator")
1
5440
* def outputpath = db.outputpath()
1
5441
* eval db.ensureDirectory(outputpath)
1
5442
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5443
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5444
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5445
Given path 'geonetwork/srv/dut/inspire'
0
5446
And param service = 'CSW'
0
5447
And param version = '2.0.2'
0
5448
And param request = 'GetRecordById'
0
5449
And param id = 'e9ba7d7f-6cd1-4271-bce4-56432924b338'
1
5450
And param elementsetname = 'full'
0
5451
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5452
When method get
283
5453
Then status 200
0
5454
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e9ba7d7f-6cd1-4271-bce4-56432924b338'
1
5455
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5456
* def title = get response //citation/CI_Citation/title/CharacterString
1
5457
* def email = get response //electronicMailAddress/CharacterString
1
5458
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5459
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5460
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5461
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5462
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5463
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5464
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
5465
* print connectUrl
0
15:15:22.306 [print] https://geodata.nationaalgeoregister.nl/mosselzaadinvanginstallaties/wfs?request=GetCapabilities&service=WFS
5466
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5467
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5468
* print organisationpath
0
15:15:22.307 [print] Beheer PDOK
5469
* print operateson
0
15:15:22.307 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a04afee4-47d5-45b7-b7a0-a6f86106af11#MD_DataIdentification
5470
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5471
* eval db.writeln('"e9ba7d7f-6cd1-4271-bce4-56432924b338","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5472
* eval db.writeln('"e9ba7d7f-6cd1-4271-bce4-56432924b338","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.145:18]d4e573b0-bd3b-4d7b-a97d-e65841e6e0b4
ms: 294
>>
Background:
5473
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
5474
* def mystorage = Java.type('storage.DataStorage')
1
5475
* def db = new mystorage
1
5476
* def db = db.setfeature(karate.info.featureFileName)
1
5477
* def separator = java.lang.System.getProperty("file.separator")
1
5478
* def outputpath = db.outputpath()
1
5479
* eval db.ensureDirectory(outputpath)
1
5480
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5481
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5482
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5483
Given path 'geonetwork/srv/dut/inspire'
0
5484
And param service = 'CSW'
0
5485
And param version = '2.0.2'
0
5486
And param request = 'GetRecordById'
0
5487
And param id = 'd4e573b0-bd3b-4d7b-a97d-e65841e6e0b4'
0
5488
And param elementsetname = 'full'
0
5489
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5490
When method get
282
5491
Then status 200
0
5492
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd4e573b0-bd3b-4d7b-a97d-e65841e6e0b4'
1
5493
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5494
* def title = get response //citation/CI_Citation/title/CharacterString
1
5495
* def email = get response //electronicMailAddress/CharacterString
1
5496
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5497
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5498
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5499
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5500
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5501
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5502
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
5503
* print connectUrl
0
15:15:22.369 [print] https://geodata.nationaalgeoregister.nl/rws/kaderrichtlijnwateractueel/wms/v1_0?service=WMS&request=GetCapabilities
5504
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5505
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5506
* print organisationpath
0
15:15:22.370 [print] Beheer PDOK
5507
* print operateson
0
15:15:22.370 [print] [
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=krw-782cab20-8328-45f1-a9b2-c27d07c14066#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=622a632a-c57b-44a2-83a4-e51223d5f15g#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=2e31680f-68b5-4ff3-94a4-9c24109ffd5e#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=krw-f7bb2351-9788-42ea-a58b-a5ee1842304e#MD_DataIdentification"
]
5508
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5509
* eval db.writeln('"d4e573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5510
* eval db.writeln('"d4e573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.146:18]68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2
ms: 301
>>
Background:
5511
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
5512
* def mystorage = Java.type('storage.DataStorage')
1
5513
* def db = new mystorage
1
5514
* def db = db.setfeature(karate.info.featureFileName)
1
5515
* def separator = java.lang.System.getProperty("file.separator")
1
5516
* def outputpath = db.outputpath()
1
5517
* eval db.ensureDirectory(outputpath)
1
5518
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5519
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5520
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5521
Given path 'geonetwork/srv/dut/inspire'
1
5522
And param service = 'CSW'
0
5523
And param version = '2.0.2'
0
5524
And param request = 'GetRecordById'
0
5525
And param id = '68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2'
1
5526
And param elementsetname = 'full'
0
5527
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5528
When method get
290
5529
Then status 200
0
5530
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2'
1
5531
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5532
* def title = get response //citation/CI_Citation/title/CharacterString
1
5533
* def email = get response //electronicMailAddress/CharacterString
1
5534
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5535
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5536
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5537
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5538
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5539
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5540
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
5541
* print connectUrl
0
15:15:22.410 [print] https://waterwebservices.rijkswaterstaat.nl/services/distributielaagWFS/distributielaag_dbo?service=WFS&version=2.0.0&request=GetCapabilities
5542
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
5543
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5544
* print organisationpath
0
15:15:22.412 [print] Rijkswaterstaat
5545
* print operateson
0
15:15:22.412 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&ID=68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
5546
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5547
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5548
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06fcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.147:18]88a93a3b-d522-4c5d-9b0f-c6c39a118442
ms: 291
>>
Background:
5549
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
5550
* def mystorage = Java.type('storage.DataStorage')
1
5551
* def db = new mystorage
1
5552
* def db = db.setfeature(karate.info.featureFileName)
1
5553
* def separator = java.lang.System.getProperty("file.separator")
1
5554
* def outputpath = db.outputpath()
1
5555
* eval db.ensureDirectory(outputpath)
1
5556
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5557
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5558
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5559
Given path 'geonetwork/srv/dut/inspire'
1
5560
And param service = 'CSW'
0
5561
And param version = '2.0.2'
0
5562
And param request = 'GetRecordById'
0
5563
And param id = '88a93a3b-d522-4c5d-9b0f-c6c39a118442'
0
5564
And param elementsetname = 'full'
0
5565
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5566
When method get
277
5567
Then status 200
0
5568
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '88a93a3b-d522-4c5d-9b0f-c6c39a118442'
1
5569
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5570
* def title = get response //citation/CI_Citation/title/CharacterString
1
5571
* def email = get response //electronicMailAddress/CharacterString
1
5572
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5573
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5574
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5575
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5576
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
5577
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
5578
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
5579
* print connectUrl
0
15:15:22.478 [print] https://geodata.nationaalgeoregister.nl/inspire/su-vector/wms?&request=GetCapabilities&service=WMS
5580
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5581
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5582
* print organisationpath
0
15:15:22.479 [print] Beheer PDOK
5583
* print operateson
0
15:15:22.479 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=10d1153e-778f-4995-9b6c-7c69b196cccb#MD_DataIdentification
5584
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5585
* eval db.writeln('"88a93a3b-d522-4c5d-9b0f-c6c39a118442","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5586
* eval db.writeln('"88a93a3b-d522-4c5d-9b0f-c6c39a118442","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.148:18]0d2ca03b-fb7b-466a-bb93-e2bfb596e394
ms: 286
>>
Background:
5587
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
5588
* def mystorage = Java.type('storage.DataStorage')
1
5589
* def db = new mystorage
1
5590
* def db = db.setfeature(karate.info.featureFileName)
1
5591
* def separator = java.lang.System.getProperty("file.separator")
1
5592
* def outputpath = db.outputpath()
1
5593
* eval db.ensureDirectory(outputpath)
1
5594
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5595
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5596
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5597
Given path 'geonetwork/srv/dut/inspire'
1
5598
And param service = 'CSW'
0
5599
And param version = '2.0.2'
0
5600
And param request = 'GetRecordById'
0
5601
And param id = '0d2ca03b-fb7b-466a-bb93-e2bfb596e394'
0
5602
And param elementsetname = 'full'
0
5603
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5604
When method get
276
5605
Then status 200
0
5606
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0d2ca03b-fb7b-466a-bb93-e2bfb596e394'
1
5607
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5608
* def title = get response //citation/CI_Citation/title/CharacterString
0
5609
* def email = get response //electronicMailAddress/CharacterString
0
5610
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
5611
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5612
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5613
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5614
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5615
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5616
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
5617
* print connectUrl
0
15:15:22.593 [print] https://inspire.caris.nl/gs5/pssa_nl/ows?service=WFS&version=2.0.0&request=GetCapabilities
5618
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5619
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5620
* print organisationpath
0
15:15:22.593 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
5621
* print operateson
0
15:15:22.593 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=f1d27179-36eb-4376-8048-f51d2eb23a09&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
5622
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5623
* eval db.writeln('"0d2ca03b-fb7b-466a-bb93-e2bfb596e394","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5624
* eval db.writeln('"0d2ca03b-fb7b-466a-bb93-e2bfb596e394","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.149:18]89b35a6c-c099-456b-8eaf-2b83c7a35c74
ms: 283
>>
Background:
5625
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
5626
* def mystorage = Java.type('storage.DataStorage')
1
5627
* def db = new mystorage
1
5628
* def db = db.setfeature(karate.info.featureFileName)
1
5629
* def separator = java.lang.System.getProperty("file.separator")
1
5630
* def outputpath = db.outputpath()
1
5631
* eval db.ensureDirectory(outputpath)
1
5632
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5633
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5634
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5635
Given path 'geonetwork/srv/dut/inspire'
1
5636
And param service = 'CSW'
0
5637
And param version = '2.0.2'
0
5638
And param request = 'GetRecordById'
0
5639
And param id = '89b35a6c-c099-456b-8eaf-2b83c7a35c74'
0
5640
And param elementsetname = 'full'
0
5641
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5642
When method get
273
5643
Then status 200
0
5644
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '89b35a6c-c099-456b-8eaf-2b83c7a35c74'
1
5645
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5646
* def title = get response //citation/CI_Citation/title/CharacterString
0
5647
* def email = get response //electronicMailAddress/CharacterString
0
5648
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
5649
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5650
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5651
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5652
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5653
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5654
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
5655
* print connectUrl
0
15:15:22.653 [print] https://geodata.nationaalgeoregister.nl/inspire/ps-rvo-np/wms?request=GetCapabilities
5656
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5657
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5658
* print organisationpath
0
15:15:22.653 [print] Beheer PDOK
5659
* print operateson
0
15:15:22.654 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=247a1d15-0a67-40ce-85be-1403c08f15a8#MD_DataIdentification
5660
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5661
* eval db.writeln('"89b35a6c-c099-456b-8eaf-2b83c7a35c74","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5662
* eval db.writeln('"89b35a6c-c099-456b-8eaf-2b83c7a35c74","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.150:18]wt-83730-e750-485a-9c0c-39bf9bf72cf8
ms: 290
>>
Background:
5663
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
5664
* def mystorage = Java.type('storage.DataStorage')
1
5665
* def db = new mystorage
1
5666
* def db = db.setfeature(karate.info.featureFileName)
1
5667
* def separator = java.lang.System.getProperty("file.separator")
1
5668
* def outputpath = db.outputpath()
1
5669
* eval db.ensureDirectory(outputpath)
1
5670
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5671
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5672
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5673
Given path 'geonetwork/srv/dut/inspire'
0
5674
And param service = 'CSW'
0
5675
And param version = '2.0.2'
0
5676
And param request = 'GetRecordById'
0
5677
And param id = 'wt-83730-e750-485a-9c0c-39bf9bf72cf8'
0
5678
And param elementsetname = 'full'
0
5679
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5680
When method get
278
5681
Then status 200
0
5682
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-83730-e750-485a-9c0c-39bf9bf72cf8'
1
5683
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5684
* def title = get response //citation/CI_Citation/title/CharacterString
1
5685
* def email = get response //electronicMailAddress/CharacterString
1
5686
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5687
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5688
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5689
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5690
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5691
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5692
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
5693
* print connectUrl
0
15:15:22.701 [print] https://haleconnect.com/ows/services/org.292.42527b86-52a7-4b94-9f83-8e8a9e900f5a_wfs?service=WFS&version=2.0.0&request=GetCapabilities
5694
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5695
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5696
* print organisationpath
0
15:15:22.702 [print] Rijkswaterstaat
5697
* print operateson
0
15:15:22.702 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?SERVICE=csw&VERSION=2.0.2&REQUEST=GetRecordById&ID=wt-83730-e750-485a-9c0c-39bf9be72cf8&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
5698
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5699
* eval db.writeln('"wt-83730-e750-485a-9c0c-39bf9bf72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5700
* eval db.writeln('"wt-83730-e750-485a-9c0c-39bf9bf72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.151:18]a2fdecfc-de33-4ce3-b935-4c9ac18c5a36
ms: 308
>>
Background:
5701
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
5702
* def mystorage = Java.type('storage.DataStorage')
1
5703
* def db = new mystorage
1
5704
* def db = db.setfeature(karate.info.featureFileName)
1
5705
* def separator = java.lang.System.getProperty("file.separator")
1
5706
* def outputpath = db.outputpath()
1
5707
* eval db.ensureDirectory(outputpath)
1
5708
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5709
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5710
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5711
Given path 'geonetwork/srv/dut/inspire'
0
5712
And param service = 'CSW'
0
5713
And param version = '2.0.2'
0
5714
And param request = 'GetRecordById'
0
5715
And param id = 'a2fdecfc-de33-4ce3-b935-4c9ac18c5a36'
0
5716
And param elementsetname = 'full'
0
5717
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5718
When method get
291
5719
Then status 200
0
5720
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a2fdecfc-de33-4ce3-b935-4c9ac18c5a36'
2
5721
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
5722
* def title = get response //citation/CI_Citation/title/CharacterString
1
5723
* def email = get response //electronicMailAddress/CharacterString
1
5724
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5725
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5726
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5727
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
5728
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
5729
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
5730
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
5731
* print connectUrl
0
15:15:22.786 [print] https://geodata.nationaalgeoregister.nl/cbsvierkanten500mv2/wms?request=GetCapabilities
5732
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
5733
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5734
* print organisationpath
0
15:15:22.788 [print] Beheer PDOK
5735
* print operateson
0
15:15:22.788 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f605a24f-60cd-4c40-94c8-2186aba3ddd0#MD_DataIdentification
5736
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5737
* eval db.writeln('"a2fdecfc-de33-4ce3-b935-4c9ac18c5a36","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5738
* eval db.writeln('"a2fdecfc-de33-4ce3-b935-4c9ac18c5a36","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.152:18]tn-2c7040b-c448-451b-bf15-f2416efaadd1
ms: 301
>>
Background:
5739
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
5740
* def mystorage = Java.type('storage.DataStorage')
1
5741
* def db = new mystorage
1
5742
* def db = db.setfeature(karate.info.featureFileName)
1
5743
* def separator = java.lang.System.getProperty("file.separator")
1
5744
* def outputpath = db.outputpath()
1
5745
* eval db.ensureDirectory(outputpath)
1
5746
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5747
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5748
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5749
Given path 'geonetwork/srv/dut/inspire'
0
5750
And param service = 'CSW'
0
5751
And param version = '2.0.2'
0
5752
And param request = 'GetRecordById'
0
5753
And param id = 'tn-2c7040b-c448-451b-bf15-f2416efaadd1'
1
5754
And param elementsetname = 'full'
0
5755
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5756
When method get
284
5757
Then status 200
0
5758
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'tn-2c7040b-c448-451b-bf15-f2416efaadd1'
1
5759
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5760
* def title = get response //citation/CI_Citation/title/CharacterString
1
5761
* def email = get response //electronicMailAddress/CharacterString
1
5762
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5763
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5764
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5765
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
5766
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
5767
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
5768
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
5769
* print connectUrl
0
15:15:22.893 [print] https://haleconnect.com/ows/services/org.292.2885ef73-e044-4da4-b9b6-8a461a5353aa_wfs?service=WFS&version=2.0.0&request=GetCapabilities
5770
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
5771
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5772
* print organisationpath
0
15:15:22.894 [print] Rijkswaterstaat
5773
* print operateson
0
15:15:22.894 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=eu-2c7040b-c448-451b-bf15-f2416ecaadd1#MD_DataIdentification
5774
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5775
* eval db.writeln('"tn-2c7040b-c448-451b-bf15-f2416efaadd1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5776
* eval db.writeln('"tn-2c7040b-c448-451b-bf15-f2416efaadd1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.153:18]ceda1b88-32ac-40b2-a841-71eb041c9427
ms: 305
>>
Background:
5777
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
5778
* def mystorage = Java.type('storage.DataStorage')
1
5779
* def db = new mystorage
1
5780
* def db = db.setfeature(karate.info.featureFileName)
1
5781
* def separator = java.lang.System.getProperty("file.separator")
1
5782
* def outputpath = db.outputpath()
1
5783
* eval db.ensureDirectory(outputpath)
1
5784
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5785
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5786
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5787
Given path 'geonetwork/srv/dut/inspire'
0
5788
And param service = 'CSW'
0
5789
And param version = '2.0.2'
0
5790
And param request = 'GetRecordById'
0
5791
And param id = 'ceda1b88-32ac-40b2-a841-71eb041c9427'
0
5792
And param elementsetname = 'full'
0
5793
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5794
When method get
293
5795
Then status 200
0
5796
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ceda1b88-32ac-40b2-a841-71eb041c9427'
1
5797
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5798
* def title = get response //citation/CI_Citation/title/CharacterString
1
5799
* def email = get response //electronicMailAddress/CharacterString
1
5800
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5801
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5802
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5803
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5804
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5805
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5806
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
5807
* print connectUrl
0
15:15:22.958 [print] https://geodata.nationaalgeoregister.nl/reststromen/wms?request=GetCapabilities
5808
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5809
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
5810
* print organisationpath
0
15:15:22.959 [print] Beheer PDOK
5811
* print operateson
0
15:15:22.959 [print] [
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=11d83e36-fd0d-46bc-838c-0567c5dfdb19#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=34dacd72-d2fb-4e28-844d-73d3b9c3fef2#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=419b85e5-04ee-4cc9-b910-bc58594a943a#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=119f7512-a71e-4d1a-82e7-7a2b63f9338b#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6ea55ec4-f312-40ef-9935-68806e61b496#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=af784610-df36-4d40-bac0-23d8e728999f#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=24eb504e-f5f3-4ecf-b760-cc5630e82a57#MD_DataIdentification"
]
5812
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5813
* eval db.writeln('"ceda1b88-32ac-40b2-a841-71eb041c9427","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
5814
* eval db.writeln('"ceda1b88-32ac-40b2-a841-71eb041c9427","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.154:18]af4841b5-ce83-4edb-af41-429a21140316
ms: 351
>>
Background:
5815
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
5816
* def mystorage = Java.type('storage.DataStorage')
1
5817
* def db = new mystorage
1
5818
* def db = db.setfeature(karate.info.featureFileName)
1
5819
* def separator = java.lang.System.getProperty("file.separator")
1
5820
* def outputpath = db.outputpath()
1
5821
* eval db.ensureDirectory(outputpath)
1
5822
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5823
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5824
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5825
Given path 'geonetwork/srv/dut/inspire'
1
5826
And param service = 'CSW'
0
5827
And param version = '2.0.2'
0
5828
And param request = 'GetRecordById'
0
5829
And param id = 'af4841b5-ce83-4edb-af41-429a21140316'
1
5830
And param elementsetname = 'full'
0
5831
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5832
When method get
322
5833
Then status 200
0
5834
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'af4841b5-ce83-4edb-af41-429a21140316'
3
5835
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
5836
* def title = get response //citation/CI_Citation/title/CharacterString
2
5837
* def email = get response //electronicMailAddress/CharacterString
2
5838
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
2
5839
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
5840
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5841
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
5842
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
5843
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
5844
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
5845
* print connectUrl
0
15:15:23.049 [print] https://geodata.nationaalgeoregister.nl/habitatrichtlijnverspreidingtypen/wfs?request=GetCapabilities
5846
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
5847
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
5848
* print organisationpath
0
15:15:23.052 [print] Beheer PDOK
5849
* print operateson
0
15:15:23.052 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=977e0e94-7aa9-4784-b2da-eaec44adb61b#MD_DataIdentification
5850
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
2
5851
* eval db.writeln('"af4841b5-ce83-4edb-af41-429a21140316","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5852
* eval db.writeln('"af4841b5-ce83-4edb-af41-429a21140316","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.155:18]22bedc12-e9cb-4419-8e51-dfb375d46d01
ms: 290
>>
Background:
5853
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
5854
* def mystorage = Java.type('storage.DataStorage')
1
5855
* def db = new mystorage
1
5856
* def db = db.setfeature(karate.info.featureFileName)
1
5857
* def separator = java.lang.System.getProperty("file.separator")
1
5858
* def outputpath = db.outputpath()
1
5859
* eval db.ensureDirectory(outputpath)
1
5860
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5861
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5862
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5863
Given path 'geonetwork/srv/dut/inspire'
0
5864
And param service = 'CSW'
0
5865
And param version = '2.0.2'
0
5866
And param request = 'GetRecordById'
0
5867
And param id = '22bedc12-e9cb-4419-8e51-dfb375d46d01'
1
5868
And param elementsetname = 'full'
0
5869
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5870
When method get
279
5871
Then status 200
0
5872
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '22bedc12-e9cb-4419-8e51-dfb375d46d01'
1
5873
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
5874
* def title = get response //citation/CI_Citation/title/CharacterString
0
5875
* def email = get response //electronicMailAddress/CharacterString
0
5876
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5877
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5878
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5879
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5880
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5881
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5882
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
5883
* print connectUrl
0
15:15:23.077 [print] http://services.inspire-provincies.nl/NaturalRiskZones/services/view_NZ?request=GetCapabilities
5884
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5885
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5886
* print organisationpath
0
15:15:23.078 [print] Interprovinciaal Overleg
5887
* print operateson
0
15:15:23.078 [print] [
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88f76a94-ee4d-4e0c-9fde-91b692403e39&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification",
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=08af1182-91fe-4d21-aa21-ee002953c3cc&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification",
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=d91126e0-e37b-11e4-b571-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification",
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=667ebfb0-e37c-11e4-b571-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification"
]
5888
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
5889
* eval db.writeln('"22bedc12-e9cb-4419-8e51-dfb375d46d01","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5890
* eval db.writeln('"22bedc12-e9cb-4419-8e51-dfb375d46d01","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.156:18]578f993f-4d0b-4c4a-a08b-dfa9e1d1376e
ms: 292
>>
Background:
5891
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
5892
* def mystorage = Java.type('storage.DataStorage')
1
5893
* def db = new mystorage
1
5894
* def db = db.setfeature(karate.info.featureFileName)
1
5895
* def separator = java.lang.System.getProperty("file.separator")
1
5896
* def outputpath = db.outputpath()
1
5897
* eval db.ensureDirectory(outputpath)
1
5898
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5899
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5900
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5901
Given path 'geonetwork/srv/dut/inspire'
0
5902
And param service = 'CSW'
0
5903
And param version = '2.0.2'
0
5904
And param request = 'GetRecordById'
0
5905
And param id = '578f993f-4d0b-4c4a-a08b-dfa9e1d1376e'
0
5906
And param elementsetname = 'full'
0
5907
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5908
When method get
272
5909
Then status 200
0
5910
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '578f993f-4d0b-4c4a-a08b-dfa9e1d1376e'
1
5911
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5912
* def title = get response //citation/CI_Citation/title/CharacterString
1
5913
* def email = get response //electronicMailAddress/CharacterString
0
5914
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5915
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5916
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5917
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5918
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5919
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5920
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
5921
* print connectUrl
0
15:15:23.178 [print] https://geodata.nationaalgeoregister.nl/nhi/wfs?request=GetCapabilities
5922
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5923
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5924
* print organisationpath
0
15:15:23.179 [print] Beheer PDOK
5925
* print operateson
0
15:15:23.179 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=710c381c-ab2d-45d5-a45d-af2eba811e5f#MD_DataIdentification
5926
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5927
* eval db.writeln('"578f993f-4d0b-4c4a-a08b-dfa9e1d1376e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5928
* eval db.writeln('"578f993f-4d0b-4c4a-a08b-dfa9e1d1376e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
10
Scenario Outline: [1.157:18]6b608d4e-5628-4d59-97fc-0322c57357b2
ms: 331
>>
Background:
5929
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
5930
* def mystorage = Java.type('storage.DataStorage')
1
5931
* def db = new mystorage
1
5932
* def db = db.setfeature(karate.info.featureFileName)
1
5933
* def separator = java.lang.System.getProperty("file.separator")
1
5934
* def outputpath = db.outputpath()
1
5935
* eval db.ensureDirectory(outputpath)
1
5936
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5937
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5938
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5939
Given path 'geonetwork/srv/dut/inspire'
0
5940
And param service = 'CSW'
0
5941
And param version = '2.0.2'
0
5942
And param request = 'GetRecordById'
0
5943
And param id = '6b608d4e-5628-4d59-97fc-0322c57357b2'
0
5944
And param elementsetname = 'full'
0
5945
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5946
When method get
320
5947
Then status 200
0
5948
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6b608d4e-5628-4d59-97fc-0322c57357b2'
1
5949
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5950
* def title = get response //citation/CI_Citation/title/CharacterString
0
5951
* def email = get response //electronicMailAddress/CharacterString
0
5952
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5953
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
5954
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5955
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5956
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5957
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5958
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
5959
* print connectUrl
0
15:15:23.290 [print] https://geodata.nationaalgeoregister.nl/schelpdierenpercelen/wfs?request=GetCapabilities
5960
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5961
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
5962
* print organisationpath
0
15:15:23.291 [print] Beheer PDOK
5963
* print operateson
0
15:15:23.291 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=fe0e1e5f-512f-4bb1-bbf8-4028d3dfa24f#MD_DataIdentification
5964
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
5965
* eval db.writeln('"6b608d4e-5628-4d59-97fc-0322c57357b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
5966
* eval db.writeln('"6b608d4e-5628-4d59-97fc-0322c57357b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.158:18]1a8d5470-8c5e-477a-ab6b-4893b6d21ab6
ms: 301
>>
Background:
5967
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
5968
* def mystorage = Java.type('storage.DataStorage')
1
5969
* def db = new mystorage
1
5970
* def db = db.setfeature(karate.info.featureFileName)
1
5971
* def separator = java.lang.System.getProperty("file.separator")
1
5972
* def outputpath = db.outputpath()
1
5973
* eval db.ensureDirectory(outputpath)
1
5974
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
5975
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
5976
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
5977
Given path 'geonetwork/srv/dut/inspire'
1
5978
And param service = 'CSW'
0
5979
And param version = '2.0.2'
0
5980
And param request = 'GetRecordById'
0
5981
And param id = '1a8d5470-8c5e-477a-ab6b-4893b6d21ab6'
0
5982
And param elementsetname = 'full'
0
5983
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
5984
When method get
282
5985
Then status 200
0
5986
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1a8d5470-8c5e-477a-ab6b-4893b6d21ab6'
1
5987
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
5988
* def title = get response //citation/CI_Citation/title/CharacterString
1
5989
* def email = get response //electronicMailAddress/CharacterString
1
5990
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
5991
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
5992
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
5993
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
5994
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
5995
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
5996
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
5997
* print connectUrl
0
15:15:23.347 [print] https://www.broinspireservices.nl/wms/osgebor-a-v1.0?request=GetCapabilities
5998
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
5999
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6000
* print organisationpath
0
15:15:23.348 [print] TNO Geologische Dienst Nederland
6001
* print operateson
0
15:15:23.348 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=6c1cf452-8c62-4046-99ab-640a5e184f9c&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
6002
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6003
* eval db.writeln('"1a8d5470-8c5e-477a-ab6b-4893b6d21ab6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
9
6004
* eval db.writeln('"1a8d5470-8c5e-477a-ab6b-4893b6d21ab6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.159:18]0bb27a13-76f1-4374-8d44-76e937198e8d
ms: 308
>>
Background:
6005
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
6006
* def mystorage = Java.type('storage.DataStorage')
1
6007
* def db = new mystorage
1
6008
* def db = db.setfeature(karate.info.featureFileName)
1
6009
* def separator = java.lang.System.getProperty("file.separator")
1
6010
* def outputpath = db.outputpath()
1
6011
* eval db.ensureDirectory(outputpath)
1
6012
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6013
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6014
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6015
Given path 'geonetwork/srv/dut/inspire'
0
6016
And param service = 'CSW'
0
6017
And param version = '2.0.2'
0
6018
And param request = 'GetRecordById'
0
6019
And param id = '0bb27a13-76f1-4374-8d44-76e937198e8d'
0
6020
And param elementsetname = 'full'
0
6021
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6022
When method get
299
6023
Then status 200
0
6024
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0bb27a13-76f1-4374-8d44-76e937198e8d'
0
6025
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6026
* def title = get response //citation/CI_Citation/title/CharacterString
1
6027
* def email = get response //electronicMailAddress/CharacterString
0
6028
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
6029
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6030
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6031
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6032
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6033
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6034
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
6035
* print connectUrl
0
15:15:23.387 [print] https://inspire.caris.nl/atom/maritieme-grenzen-zones-noordzee-Maritieme-grenzen-Noordzee.gml
6036
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6037
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6038
* print organisationpath
0
15:15:23.388 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
6039
* print operateson
0
15:15:23.388 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=a5241416-8401-4623-be61-57ef50447a41&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
6040
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6041
* eval db.writeln('"0bb27a13-76f1-4374-8d44-76e937198e8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6042
* eval db.writeln('"0bb27a13-76f1-4374-8d44-76e937198e8d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.160:18]598c4109-21d2-4a6c-b083-9975a6736849
ms: 295
>>
Background:
6043
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
6044
* def mystorage = Java.type('storage.DataStorage')
1
6045
* def db = new mystorage
1
6046
* def db = db.setfeature(karate.info.featureFileName)
1
6047
* def separator = java.lang.System.getProperty("file.separator")
1
6048
* def outputpath = db.outputpath()
1
6049
* eval db.ensureDirectory(outputpath)
1
6050
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6051
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6052
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6053
Given path 'geonetwork/srv/dut/inspire'
0
6054
And param service = 'CSW'
0
6055
And param version = '2.0.2'
0
6056
And param request = 'GetRecordById'
0
6057
And param id = '598c4109-21d2-4a6c-b083-9975a6736849'
1
6058
And param elementsetname = 'full'
0
6059
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6060
When method get
284
6061
Then status 200
0
6062
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '598c4109-21d2-4a6c-b083-9975a6736849'
1
6063
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6064
* def title = get response //citation/CI_Citation/title/CharacterString
1
6065
* def email = get response //electronicMailAddress/CharacterString
0
6066
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6067
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6068
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6069
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6070
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6071
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6072
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
6073
* print connectUrl
0
15:15:23.482 [print] https://geodata.nationaalgeoregister.nl/nwbvaarwegen/wms?request=getCapabilities&service=WMS
6074
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6075
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6076
* print organisationpath
0
15:15:23.483 [print] Beheer PDOK
6077
* print operateson
0
15:15:23.483 [print] [
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=00d8c7c8-98ff-4b06-8f53-b44216e6e75c#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=701d4eb8-8aae-4708-bba5-3edf6987676d#MD_DataIdentification"
]
6078
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
6079
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736849","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6080
* eval db.writeln('"598c4109-21d2-4a6c-b083-9975a6736849","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.161:18]ff9315c8-f25a-4d01-9245-5cf058314ebf
ms: 300
>>
Background:
6081
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
6082
* def mystorage = Java.type('storage.DataStorage')
1
6083
* def db = new mystorage
1
6084
* def db = db.setfeature(karate.info.featureFileName)
1
6085
* def separator = java.lang.System.getProperty("file.separator")
1
6086
* def outputpath = db.outputpath()
1
6087
* eval db.ensureDirectory(outputpath)
1
6088
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6089
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6090
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6091
Given path 'geonetwork/srv/dut/inspire'
0
6092
And param service = 'CSW'
0
6093
And param version = '2.0.2'
0
6094
And param request = 'GetRecordById'
0
6095
And param id = 'ff9315c8-f25a-4d01-9245-5cf058314ebf'
1
6096
And param elementsetname = 'full'
0
6097
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6098
When method get
289
6099
Then status 200
0
6100
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ff9315c8-f25a-4d01-9245-5cf058314ebf'
1
6101
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6102
* def title = get response //citation/CI_Citation/title/CharacterString
1
6103
* def email = get response //electronicMailAddress/CharacterString
1
6104
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6105
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6106
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6107
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6108
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6109
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6110
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
6111
* print connectUrl
0
15:15:23.591 [print] https://geodata.nationaalgeoregister.nl/kadastralekaart/wfs/v4_0?request=GetCapabilities
6112
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6113
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6114
* print organisationpath
0
15:15:23.592 [print] Beheer PDOK
6115
* print operateson
0
15:15:23.592 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=a29917b9-3426-4041-a11b-69bcb2256904&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
6116
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6117
* eval db.writeln('"ff9315c8-f25a-4d01-9245-5cf058314ebf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6118
* eval db.writeln('"ff9315c8-f25a-4d01-9245-5cf058314ebf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.162:18]008d85d1-460d-46f6-9af4-98afdedbc4dc
ms: 303
>>
Background:
6119
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
6120
* def mystorage = Java.type('storage.DataStorage')
1
6121
* def db = new mystorage
1
6122
* def db = db.setfeature(karate.info.featureFileName)
1
6123
* def separator = java.lang.System.getProperty("file.separator")
1
6124
* def outputpath = db.outputpath()
1
6125
* eval db.ensureDirectory(outputpath)
1
6126
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6127
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6128
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6129
Given path 'geonetwork/srv/dut/inspire'
1
6130
And param service = 'CSW'
0
6131
And param version = '2.0.2'
0
6132
And param request = 'GetRecordById'
0
6133
And param id = '008d85d1-460d-46f6-9af4-98afdedbc4dc'
1
6134
And param elementsetname = 'full'
0
6135
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6136
When method get
291
6137
Then status 200
0
6138
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '008d85d1-460d-46f6-9af4-98afdedbc4dc'
1
6139
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6140
* def title = get response //citation/CI_Citation/title/CharacterString
1
6141
* def email = get response //electronicMailAddress/CharacterString
1
6142
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6143
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6144
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6145
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
6146
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
6147
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6148
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
6149
* print connectUrl
0
15:15:23.660 [print] http://service.pdok.nl/cbs/pd/wfs/v1_0?request=GetCapabilities&service=WFS
6150
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6151
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6152
* print organisationpath
0
15:15:23.661 [print] Beheer PDOK
6153
* print operateson
0
15:15:23.661 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76541ebb-a554-4540-a017-399d4bb4a860#MD_DataIdentification
6154
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6155
* eval db.writeln('"008d85d1-460d-46f6-9af4-98afdedbc4dc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6156
* eval db.writeln('"008d85d1-460d-46f6-9af4-98afdedbc4dc","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.163:18]f0c6fbfe-a172-4223-8af3-58f6a28c881d
ms: 308
>>
Background:
6157
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
6158
* def mystorage = Java.type('storage.DataStorage')
1
6159
* def db = new mystorage
1
6160
* def db = db.setfeature(karate.info.featureFileName)
1
6161
* def separator = java.lang.System.getProperty("file.separator")
1
6162
* def outputpath = db.outputpath()
1
6163
* eval db.ensureDirectory(outputpath)
1
6164
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6165
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6166
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6167
Given path 'geonetwork/srv/dut/inspire'
0
6168
And param service = 'CSW'
0
6169
And param version = '2.0.2'
0
6170
And param request = 'GetRecordById'
0
6171
And param id = 'f0c6fbfe-a172-4223-8af3-58f6a28c881d'
0
6172
And param elementsetname = 'full'
0
6173
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6174
When method get
296
6175
Then status 200
0
6176
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f0c6fbfe-a172-4223-8af3-58f6a28c881d'
1
6177
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6178
* def title = get response //citation/CI_Citation/title/CharacterString
0
6179
* def email = get response //electronicMailAddress/CharacterString
0
6180
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
6181
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6182
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6183
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6184
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
6185
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
6186
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
6187
* print connectUrl
0
15:15:23.694 [print] https://service.pdok.nl/cbs/hh/wms/v1_0?request=GetCapabilities&service=WMS
6188
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
6189
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6190
* print organisationpath
0
15:15:23.696 [print] Beheer PDOK
6191
* print operateson
0
15:15:23.696 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=12bb57cd-73e0-41ba-a1e9-6d986b9109d3#MD_DataIdentification
6192
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
6193
* eval db.writeln('"f0c6fbfe-a172-4223-8af3-58f6a28c881d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6194
* eval db.writeln('"f0c6fbfe-a172-4223-8af3-58f6a28c881d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.164:18]a4c5aa6c-6c7f-45d7-9799-011edd83d9c2
ms: 280
>>
Background:
6195
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
6196
* def mystorage = Java.type('storage.DataStorage')
1
6197
* def db = new mystorage
1
6198
* def db = db.setfeature(karate.info.featureFileName)
1
6199
* def separator = java.lang.System.getProperty("file.separator")
1
6200
* def outputpath = db.outputpath()
1
6201
* eval db.ensureDirectory(outputpath)
1
6202
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6203
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6204
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6205
Given path 'geonetwork/srv/dut/inspire'
0
6206
And param service = 'CSW'
0
6207
And param version = '2.0.2'
0
6208
And param request = 'GetRecordById'
0
6209
And param id = 'a4c5aa6c-6c7f-45d7-9799-011edd83d9c2'
0
6210
And param elementsetname = 'full'
0
6211
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6212
When method get
270
6213
Then status 200
0
6214
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a4c5aa6c-6c7f-45d7-9799-011edd83d9c2'
1
6215
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6216
* def title = get response //citation/CI_Citation/title/CharacterString
0
6217
* def email = get response //electronicMailAddress/CharacterString
0
6218
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
6219
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6220
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6221
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6222
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6223
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6224
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
6225
* print connectUrl
0
15:15:23.764 [print] https://inspire.caris.nl/gs5/ProspectingAndMiningPermitArea/ows?service=WFS&version=2.0.0&request=GetCapabilities
6226
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6227
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6228
* print organisationpath
0
15:15:23.765 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
6229
* print operateson
0
15:15:23.765 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c2225e5d-b46f-4e38-8445-ab10fd40c0dc#MD_DataIdentification
6230
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6231
* eval db.writeln('"a4c5aa6c-6c7f-45d7-9799-011edd83d9c2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6232
* eval db.writeln('"a4c5aa6c-6c7f-45d7-9799-011edd83d9c2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.165:18]745968a3-37af-4406-988e-ec595f58c7fe
ms: 267
>>
Background:
6233
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
6234
* def mystorage = Java.type('storage.DataStorage')
1
6235
* def db = new mystorage
1
6236
* def db = db.setfeature(karate.info.featureFileName)
1
6237
* def separator = java.lang.System.getProperty("file.separator")
1
6238
* def outputpath = db.outputpath()
1
6239
* eval db.ensureDirectory(outputpath)
1
6240
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6241
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6242
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6243
Given path 'geonetwork/srv/dut/inspire'
0
6244
And param service = 'CSW'
0
6245
And param version = '2.0.2'
0
6246
And param request = 'GetRecordById'
0
6247
And param id = '745968a3-37af-4406-988e-ec595f58c7fe'
1
6248
And param elementsetname = 'full'
0
6249
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6250
When method get
257
6251
Then status 200
0
6252
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '745968a3-37af-4406-988e-ec595f58c7fe'
1
6253
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6254
* def title = get response //citation/CI_Citation/title/CharacterString
0
6255
* def email = get response //electronicMailAddress/CharacterString
1
6256
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6257
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6258
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6259
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6260
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6261
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6262
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
6263
* print connectUrl
0
15:15:23.859 [print] https://inspire.rivm.nl/geoserver/wms?request=GetCapabilities
6264
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6265
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6266
* print organisationpath
0
15:15:23.860 [print] Rijksinstituut voor Volksgezondheid en Milieu
6267
* print operateson
0
15:15:23.860 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d24ccb35-e9d2-41bf-b231-43083fc0c76d#MD_DataIdentification
6268
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6269
* eval db.writeln('"745968a3-37af-4406-988e-ec595f58c7fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6270
* eval db.writeln('"745968a3-37af-4406-988e-ec595f58c7fe","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.166:18]a88b4ed1-49c1-4f91-991e-dc1cc7c575f7
ms: 294
>>
Background:
6271
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
6272
* def mystorage = Java.type('storage.DataStorage')
1
6273
* def db = new mystorage
1
6274
* def db = db.setfeature(karate.info.featureFileName)
1
6275
* def separator = java.lang.System.getProperty("file.separator")
1
6276
* def outputpath = db.outputpath()
1
6277
* eval db.ensureDirectory(outputpath)
1
6278
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6279
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6280
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6281
Given path 'geonetwork/srv/dut/inspire'
2
6282
And param service = 'CSW'
0
6283
And param version = '2.0.2'
0
6284
And param request = 'GetRecordById'
0
6285
And param id = 'a88b4ed1-49c1-4f91-991e-dc1cc7c575f7'
1
6286
And param elementsetname = 'full'
0
6287
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6288
When method get
281
6289
Then status 200
0
6290
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a88b4ed1-49c1-4f91-991e-dc1cc7c575f7'
1
6291
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6292
* def title = get response //citation/CI_Citation/title/CharacterString
1
6293
* def email = get response //electronicMailAddress/CharacterString
1
6294
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6295
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6296
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6297
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6298
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6299
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6300
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
6301
* print connectUrl
0
15:15:23.955 [print] http://services.inspire-provincies.nl/ProductionAndIndustrialFacilities/services/view_PF?request=GetCapabilities
6302
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6303
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6304
* print organisationpath
0
15:15:23.956 [print] Interprovinciaal Overleg
6305
* print operateson
0
15:15:23.956 [print] [
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=8e986f37-74d7-4b6c-8026-87c960456423&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification",
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=afc450bd-65b3-4e59-b0fb-619869bf6ada&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification"
]
6306
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6307
* eval db.writeln('"a88b4ed1-49c1-4f91-991e-dc1cc7c575f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6308
* eval db.writeln('"a88b4ed1-49c1-4f91-991e-dc1cc7c575f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.167:18]c56433ca-35f2-4aaf-8bfa-35d8e0e52dda
ms: 284
>>
Background:
6309
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
6310
* def mystorage = Java.type('storage.DataStorage')
1
6311
* def db = new mystorage
1
6312
* def db = db.setfeature(karate.info.featureFileName)
1
6313
* def separator = java.lang.System.getProperty("file.separator")
1
6314
* def outputpath = db.outputpath()
1
6315
* eval db.ensureDirectory(outputpath)
1
6316
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6317
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6318
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6319
Given path 'geonetwork/srv/dut/inspire'
0
6320
And param service = 'CSW'
0
6321
And param version = '2.0.2'
0
6322
And param request = 'GetRecordById'
0
6323
And param id = 'c56433ca-35f2-4aaf-8bfa-35d8e0e52dda'
0
6324
And param elementsetname = 'full'
0
6325
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6326
When method get
274
6327
Then status 200
0
6328
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c56433ca-35f2-4aaf-8bfa-35d8e0e52dda'
1
6329
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6330
* def title = get response //citation/CI_Citation/title/CharacterString
0
6331
* def email = get response //electronicMailAddress/CharacterString
0
6332
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6333
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6334
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6335
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6336
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6337
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6338
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
6339
* print connectUrl
0
15:15:23.981 [print] https://inspire.rivm.nl/geoserver/wms?request=GetCapabilities
6340
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6341
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6342
* print organisationpath
0
15:15:23.982 [print] Rijksinstituut voor Volksgezondheid en Milieu
6343
* print operateson
0
15:15:23.982 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=08b27bf0-e34a-4b30-9eac-5edadfb6a288#MD_DataIdentification
6344
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6345
* eval db.writeln('"c56433ca-35f2-4aaf-8bfa-35d8e0e52dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6346
* eval db.writeln('"c56433ca-35f2-4aaf-8bfa-35d8e0e52dda","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.168:18]d796fd8d-b1e0-465c-a55b-1e9fe885fc3d
ms: 292
>>
Background:
6347
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
6348
* def mystorage = Java.type('storage.DataStorage')
1
6349
* def db = new mystorage
1
6350
* def db = db.setfeature(karate.info.featureFileName)
1
6351
* def separator = java.lang.System.getProperty("file.separator")
1
6352
* def outputpath = db.outputpath()
1
6353
* eval db.ensureDirectory(outputpath)
1
6354
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6355
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6356
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6357
Given path 'geonetwork/srv/dut/inspire'
0
6358
And param service = 'CSW'
0
6359
And param version = '2.0.2'
0
6360
And param request = 'GetRecordById'
0
6361
And param id = 'd796fd8d-b1e0-465c-a55b-1e9fe885fc3d'
0
6362
And param elementsetname = 'full'
0
6363
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6364
When method get
274
6365
Then status 200
0
6366
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd796fd8d-b1e0-465c-a55b-1e9fe885fc3d'
1
6367
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6368
* def title = get response //citation/CI_Citation/title/CharacterString
0
6369
* def email = get response //electronicMailAddress/CharacterString
0
6370
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
6371
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6372
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6373
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6374
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6375
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6376
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
6377
* print connectUrl
0
15:15:24.048 [print] https://www.broinspireservices.nl/wms/osgegmw-a-v1.0?request=GetCapabilities
6378
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6379
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6380
* print organisationpath
0
15:15:24.049 [print] TNO Geologische Dienst Nederland
6381
* print operateson
0
15:15:24.049 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=f99e915a-75e5-4c36-97f2-61eff692d85b&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
6382
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6383
* eval db.writeln('"d796fd8d-b1e0-465c-a55b-1e9fe885fc3d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
10
6384
* eval db.writeln('"d796fd8d-b1e0-465c-a55b-1e9fe885fc3d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.169:18]49a53bc1-dd76-417f-b9af-066901ddfec0
ms: 310
>>
Background:
6385
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
6386
* def mystorage = Java.type('storage.DataStorage')
1
6387
* def db = new mystorage
1
6388
* def db = db.setfeature(karate.info.featureFileName)
1
6389
* def separator = java.lang.System.getProperty("file.separator")
1
6390
* def outputpath = db.outputpath()
1
6391
* eval db.ensureDirectory(outputpath)
1
6392
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6393
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6394
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6395
Given path 'geonetwork/srv/dut/inspire'
0
6396
And param service = 'CSW'
0
6397
And param version = '2.0.2'
0
6398
And param request = 'GetRecordById'
0
6399
And param id = '49a53bc1-dd76-417f-b9af-066901ddfec0'
0
6400
And param elementsetname = 'full'
0
6401
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6402
When method get
278
6403
Then status 200
0
6404
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '49a53bc1-dd76-417f-b9af-066901ddfec0'
1
6405
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6406
* def title = get response //citation/CI_Citation/title/CharacterString
1
6407
* def email = get response //electronicMailAddress/CharacterString
0
6408
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
6409
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6410
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6411
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6412
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6413
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6414
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
6415
* print connectUrl
0
15:15:24.148 [print] https://inspire.caris.nl/server/services/ows/download/feature/amplitude-getij_IDS?request=GetCapabilities&service=WFS&version=2.0.0
6416
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6417
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6418
* print organisationpath
0
15:15:24.149 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
6419
* print operateson
0
15:15:24.149 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=be6551de-a709-4c6d-a5e2-f63f0cf038ba&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
6420
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6421
* eval db.writeln('"49a53bc1-dd76-417f-b9af-066901ddfec0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
18
6422
* eval db.writeln('"49a53bc1-dd76-417f-b9af-066901ddfec0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
7
Scenario Outline: [1.170:18]702060c1-b3fd-44ec-8cc6-d4249d150110
ms: 292
>>
Background:
6423
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
6424
* def mystorage = Java.type('storage.DataStorage')
1
6425
* def db = new mystorage
1
6426
* def db = db.setfeature(karate.info.featureFileName)
1
6427
* def separator = java.lang.System.getProperty("file.separator")
1
6428
* def outputpath = db.outputpath()
1
6429
* eval db.ensureDirectory(outputpath)
1
6430
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6431
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6432
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6433
Given path 'geonetwork/srv/dut/inspire'
0
6434
And param service = 'CSW'
0
6435
And param version = '2.0.2'
0
6436
And param request = 'GetRecordById'
0
6437
And param id = '702060c1-b3fd-44ec-8cc6-d4249d150110'
0
6438
And param elementsetname = 'full'
0
6439
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6440
When method get
277
6441
Then status 200
0
6442
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '702060c1-b3fd-44ec-8cc6-d4249d150110'
1
6443
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6444
* def title = get response //citation/CI_Citation/title/CharacterString
0
6445
* def email = get response //electronicMailAddress/CharacterString
0
6446
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6447
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6448
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6449
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6450
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6451
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6452
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
6453
* print connectUrl
0
15:15:24.243 [print] http://services.inspire-provincies.nl/HabitatsAndBiotopes/services/download_HB?request=GetCapabilities
6454
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6455
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6456
* print organisationpath
0
15:15:24.245 [print] Interprovinciaal Overleg
6457
* print operateson
0
15:15:24.245 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88e2a6fa-b296-4ff4-bc30-fb87e2c1627e&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
6458
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6459
* eval db.writeln('"702060c1-b3fd-44ec-8cc6-d4249d150110","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
6
6460
* eval db.writeln('"702060c1-b3fd-44ec-8cc6-d4249d150110","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.171:18]cf69ec50-9849-4afd-853c-ee5621fd336d
ms: 313
>>
Background:
6461
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
6462
* def mystorage = Java.type('storage.DataStorage')
1
6463
* def db = new mystorage
1
6464
* def db = db.setfeature(karate.info.featureFileName)
1
6465
* def separator = java.lang.System.getProperty("file.separator")
1
6466
* def outputpath = db.outputpath()
1
6467
* eval db.ensureDirectory(outputpath)
1
6468
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6469
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6470
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6471
Given path 'geonetwork/srv/dut/inspire'
0
6472
And param service = 'CSW'
0
6473
And param version = '2.0.2'
0
6474
And param request = 'GetRecordById'
0
6475
And param id = 'cf69ec50-9849-4afd-853c-ee5621fd336d'
0
6476
And param elementsetname = 'full'
0
6477
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6478
When method get
302
6479
Then status 200
0
6480
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cf69ec50-9849-4afd-853c-ee5621fd336d'
1
6481
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6482
* def title = get response //citation/CI_Citation/title/CharacterString
1
6483
* def email = get response //electronicMailAddress/CharacterString
0
6484
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6485
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6486
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6487
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6488
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6489
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6490
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
6491
* print connectUrl
0
15:15:24.294 [print] https://waterwebservices.rijkswaterstaat.nl/services/distributielaagWFS/distributielaag_dbo?service=WFS&version=1.1.0&request=GetCapabilities
6492
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6493
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6494
* print organisationpath
0
15:15:24.295 [print] Rijkswaterstaat
6495
* print operateson
0
15:15:24.295 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&ID=cf69ec50-9849-4afd-853c-ee56211d336d&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
6496
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6497
* eval db.writeln('"cf69ec50-9849-4afd-853c-ee5621fd336d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6498
* eval db.writeln('"cf69ec50-9849-4afd-853c-ee5621fd336d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.172:18]081bcfff-5f66-467c-95d0-d88dcf9aa4cf
ms: 314
>>
Background:
6499
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
6500
* def mystorage = Java.type('storage.DataStorage')
1
6501
* def db = new mystorage
1
6502
* def db = db.setfeature(karate.info.featureFileName)
1
6503
* def separator = java.lang.System.getProperty("file.separator")
1
6504
* def outputpath = db.outputpath()
1
6505
* eval db.ensureDirectory(outputpath)
1
6506
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6507
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6508
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6509
Given path 'geonetwork/srv/dut/inspire'
0
6510
And param service = 'CSW'
0
6511
And param version = '2.0.2'
0
6512
And param request = 'GetRecordById'
0
6513
And param id = '081bcfff-5f66-467c-95d0-d88dcf9aa4cf'
0
6514
And param elementsetname = 'full'
0
6515
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6516
When method get
303
6517
Then status 200
0
6518
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '081bcfff-5f66-467c-95d0-d88dcf9aa4cf'
1
6519
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6520
* def title = get response //citation/CI_Citation/title/CharacterString
1
6521
* def email = get response //electronicMailAddress/CharacterString
1
6522
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6523
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6524
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6525
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6526
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6527
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6528
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
6529
* print connectUrl
0
15:15:24.371 [print] https://inspire.rivm.nl/geoserver/wms?request=GetCapabilities
6530
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6531
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6532
* print organisationpath
0
15:15:24.372 [print] Rijksinstituut voor Volksgezondheid en Milieu
6533
* print operateson
0
15:15:24.372 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b3f66964-a8c1-456f-9799-9cafca2cb7b1#MD_DataIdentification
6534
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6535
* eval db.writeln('"081bcfff-5f66-467c-95d0-d88dcf9aa4cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6536
* eval db.writeln('"081bcfff-5f66-467c-95d0-d88dcf9aa4cf","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.173:18]5dfccef3-9b52-47f2-bb02-66b74aaf3af8
ms: 294
>>
Background:
6537
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
6538
* def mystorage = Java.type('storage.DataStorage')
1
6539
* def db = new mystorage
1
6540
* def db = db.setfeature(karate.info.featureFileName)
1
6541
* def separator = java.lang.System.getProperty("file.separator")
1
6542
* def outputpath = db.outputpath()
1
6543
* eval db.ensureDirectory(outputpath)
1
6544
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6545
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6546
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6547
Given path 'geonetwork/srv/dut/inspire'
1
6548
And param service = 'CSW'
0
6549
And param version = '2.0.2'
0
6550
And param request = 'GetRecordById'
0
6551
And param id = '5dfccef3-9b52-47f2-bb02-66b74aaf3af8'
1
6552
And param elementsetname = 'full'
0
6553
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6554
When method get
284
6555
Then status 200
0
6556
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5dfccef3-9b52-47f2-bb02-66b74aaf3af8'
1
6557
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
6558
* def title = get response //citation/CI_Citation/title/CharacterString
0
6559
* def email = get response //electronicMailAddress/CharacterString
0
6560
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
6561
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
6562
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6563
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6564
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6565
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6566
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
6567
* print connectUrl
0
15:15:24.464 [print] https://inspire.caris.nl/geoserver/auwms/wms?request=GetCapabilities
6568
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6569
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6570
* print organisationpath
0
15:15:24.465 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
6571
* print operateson
0
15:15:24.465 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=4d514a2b-4a7e-4686-b9ea-87cb3e17ed52&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification
6572
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6573
* eval db.writeln('"5dfccef3-9b52-47f2-bb02-66b74aaf3af8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6574
* eval db.writeln('"5dfccef3-9b52-47f2-bb02-66b74aaf3af8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.174:18]wt-f5eb-b09f-4f6d-8397-8878a1f86238
ms: 301
>>
Background:
6575
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
6576
* def mystorage = Java.type('storage.DataStorage')
1
6577
* def db = new mystorage
1
6578
* def db = db.setfeature(karate.info.featureFileName)
1
6579
* def separator = java.lang.System.getProperty("file.separator")
1
6580
* def outputpath = db.outputpath()
1
6581
* eval db.ensureDirectory(outputpath)
1
6582
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6583
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6584
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6585
Given path 'geonetwork/srv/dut/inspire'
0
6586
And param service = 'CSW'
0
6587
And param version = '2.0.2'
0
6588
And param request = 'GetRecordById'
0
6589
And param id = 'wt-f5eb-b09f-4f6d-8397-8878a1f86238'
1
6590
And param elementsetname = 'full'
0
6591
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6592
When method get
288
6593
Then status 200
0
6594
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-f5eb-b09f-4f6d-8397-8878a1f86238'
1
6595
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6596
* def title = get response //citation/CI_Citation/title/CharacterString
1
6597
* def email = get response //electronicMailAddress/CharacterString
1
6598
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6599
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6600
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6601
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6602
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6603
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
2
6604
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
6605
* print connectUrl
0
15:15:24.555 [print] https://haleconnect.com/ows/services/org.292.42527b86-52a7-4b94-9f83-8e8a9e900f5a_wfs?service=WFS&version=2.0.0&request=GetCapabilities
6606
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6607
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6608
* print organisationpath
0
15:15:24.556 [print] Rijkswaterstaat
6609
* print operateson
0
15:15:24.556 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?SERVICE=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-f5eb-b09f-4f6d-8397-8878a1b86238#MD_DataIdentification
6610
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
6611
* eval db.writeln('"wt-f5eb-b09f-4f6d-8397-8878a1f86238","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6612
* eval db.writeln('"wt-f5eb-b09f-4f6d-8397-8878a1f86238","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.175:18]bfcc588f-9393-4c70-b989-d9e92ac2f493
ms: 305
>>
Background:
6613
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
6614
* def mystorage = Java.type('storage.DataStorage')
1
6615
* def db = new mystorage
1
6616
* def db = db.setfeature(karate.info.featureFileName)
1
6617
* def separator = java.lang.System.getProperty("file.separator")
1
6618
* def outputpath = db.outputpath()
1
6619
* eval db.ensureDirectory(outputpath)
1
6620
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6621
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6622
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6623
Given path 'geonetwork/srv/dut/inspire'
0
6624
And param service = 'CSW'
0
6625
And param version = '2.0.2'
0
6626
And param request = 'GetRecordById'
0
6627
And param id = 'bfcc588f-9393-4c70-b989-d9e92ac2f493'
1
6628
And param elementsetname = 'full'
0
6629
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6630
When method get
290
6631
Then status 200
0
6632
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bfcc588f-9393-4c70-b989-d9e92ac2f493'
1
6633
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6634
* def title = get response //citation/CI_Citation/title/CharacterString
1
6635
* def email = get response //electronicMailAddress/CharacterString
1
6636
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6637
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6638
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6639
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6640
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6641
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6642
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
6643
* print connectUrl
0
15:15:24.596 [print] https://geodata.nationaalgeoregister.nl/ahn3/wcs?&service=wcs&request=GetCapabilities
6644
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6645
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6646
* print organisationpath
0
15:15:24.597 [print] Beheer PDOK
6647
* print operateson
0
15:15:24.597 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=41daef8b-155e-4608-b49c-c87ea45d931c#MD_DataIdentification
6648
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
6649
* eval db.writeln('"bfcc588f-9393-4c70-b989-d9e92ac2f493","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
5
6650
* eval db.writeln('"bfcc588f-9393-4c70-b989-d9e92ac2f493","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.176:18]adn573b0-bd3b-4d7b-a97d-e65841e6e0b1
ms: 301
>>
Background:
6651
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
6652
* def mystorage = Java.type('storage.DataStorage')
1
6653
* def db = new mystorage
1
6654
* def db = db.setfeature(karate.info.featureFileName)
1
6655
* def separator = java.lang.System.getProperty("file.separator")
1
6656
* def outputpath = db.outputpath()
1
6657
* eval db.ensureDirectory(outputpath)
1
6658
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6659
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6660
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6661
Given path 'geonetwork/srv/dut/inspire'
1
6662
And param service = 'CSW'
0
6663
And param version = '2.0.2'
0
6664
And param request = 'GetRecordById'
0
6665
And param id = 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b1'
1
6666
And param elementsetname = 'full'
0
6667
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6668
When method get
287
6669
Then status 200
0
6670
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b1'
1
6671
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6672
* def title = get response //citation/CI_Citation/title/CharacterString
1
6673
* def email = get response //electronicMailAddress/CharacterString
1
6674
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6675
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6676
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6677
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
6678
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
6679
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
6680
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
6681
* print connectUrl
0
15:15:24.673 [print] https://inspire.caris.nl/geoserver3/rws/wcs?service=WCS&version=2.0.1&request=GetCapabilities
6682
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6683
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6684
* print organisationpath
0
15:15:24.673 [print] Rijkswaterstaat
6685
* print operateson
0
15:15:24.674 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=adn73c4a-ef03-4785-b7f6-942e86b385f5#MD_DataIdentification
6686
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
6687
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6688
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.177:18]adn573b0-bd3b-4d7b-a97d-e65841e6e0b2
ms: 287
>>
Background:
6689
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
6690
* def mystorage = Java.type('storage.DataStorage')
1
6691
* def db = new mystorage
1
6692
* def db = db.setfeature(karate.info.featureFileName)
1
6693
* def separator = java.lang.System.getProperty("file.separator")
1
6694
* def outputpath = db.outputpath()
1
6695
* eval db.ensureDirectory(outputpath)
1
6696
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6697
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6698
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6699
Given path 'geonetwork/srv/dut/inspire'
1
6700
And param service = 'CSW'
0
6701
And param version = '2.0.2'
0
6702
And param request = 'GetRecordById'
0
6703
And param id = 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b2'
1
6704
And param elementsetname = 'full'
0
6705
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6706
When method get
266
6707
Then status 200
0
6708
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b2'
1
6709
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6710
* def title = get response //citation/CI_Citation/title/CharacterString
1
6711
* def email = get response //electronicMailAddress/CharacterString
1
6712
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
7
6713
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6714
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6715
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6716
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6717
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6718
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
6719
* print connectUrl
0
15:15:24.749 [print] https://inspire.caris.nl/geoserver3/rws1/wcs?service=WCS&version=2.0.1&request=GetCapabilities
6720
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6721
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6722
* print organisationpath
0
15:15:24.750 [print] Rijkswaterstaat
6723
* print operateson
0
15:15:24.750 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=adn73c4a-ef03-4785-b7f6-942e86b385f7#MD_DataIdentification
6724
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6725
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6726
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.178:18]f20e948e-9e22-4b5a-96a1-f3cc1d16b808
ms: 288
>>
Background:
6727
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
6728
* def mystorage = Java.type('storage.DataStorage')
1
6729
* def db = new mystorage
1
6730
* def db = db.setfeature(karate.info.featureFileName)
1
6731
* def separator = java.lang.System.getProperty("file.separator")
1
6732
* def outputpath = db.outputpath()
1
6733
* eval db.ensureDirectory(outputpath)
1
6734
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6735
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6736
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6737
Given path 'geonetwork/srv/dut/inspire'
1
6738
And param service = 'CSW'
0
6739
And param version = '2.0.2'
0
6740
And param request = 'GetRecordById'
0
6741
And param id = 'f20e948e-9e22-4b5a-96a1-f3cc1d16b808'
0
6742
And param elementsetname = 'full'
0
6743
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6744
When method get
271
6745
Then status 200
0
6746
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f20e948e-9e22-4b5a-96a1-f3cc1d16b808'
1
6747
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6748
* def title = get response //citation/CI_Citation/title/CharacterString
1
6749
* def email = get response //electronicMailAddress/CharacterString
0
6750
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6751
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6752
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6753
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6754
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6755
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6756
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
6757
* print connectUrl
0
15:15:24.839 [print] https://geodata.nationaalgeoregister.nl/ahn1/wcs?request=GetCapabilities&service=wcs
6758
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6759
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6760
* print organisationpath
0
15:15:24.840 [print] Beheer PDOK
6761
* print operateson
0
15:15:24.840 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5a1adb58-0bbe-425d-b0fe-577a6c0a4228#MD_DataIdentification
6762
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
6763
* eval db.writeln('"f20e948e-9e22-4b5a-96a1-f3cc1d16b808","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
4
6764
* eval db.writeln('"f20e948e-9e22-4b5a-96a1-f3cc1d16b808","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.179:18]641a0f48-872b-4470-b130-e3d28e6bfdfb
ms: 293
>>
Background:
6765
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
6766
* def mystorage = Java.type('storage.DataStorage')
1
6767
* def db = new mystorage
1
6768
* def db = db.setfeature(karate.info.featureFileName)
1
6769
* def separator = java.lang.System.getProperty("file.separator")
1
6770
* def outputpath = db.outputpath()
1
6771
* eval db.ensureDirectory(outputpath)
1
6772
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6773
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6774
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6775
Given path 'geonetwork/srv/dut/inspire'
1
6776
And param service = 'CSW'
0
6777
And param version = '2.0.2'
0
6778
And param request = 'GetRecordById'
0
6779
And param id = '641a0f48-872b-4470-b130-e3d28e6bfdfb'
1
6780
And param elementsetname = 'full'
0
6781
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6782
When method get
279
6783
Then status 200
0
6784
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '641a0f48-872b-4470-b130-e3d28e6bfdfb'
1
6785
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6786
* def title = get response //citation/CI_Citation/title/CharacterString
1
6787
* def email = get response //electronicMailAddress/CharacterString
1
6788
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6789
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6790
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6791
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
6792
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
6793
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6794
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
6795
* print connectUrl
0
15:15:24.896 [print] https://geodata.nationaalgeoregister.nl/rws/kaderrichtlijnmarienestrategie2018/atom/v1_0/index.xml
6796
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6797
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6798
* print organisationpath
0
15:15:24.897 [print] Beheer PDOK
6799
* print operateson
0
15:15:24.897 [print] [
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krm-a905-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krm-a905-9d8e-4758-83fa-28b057f185e4#MD_DataIdentification"
]
6800
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6801
* eval db.writeln('"641a0f48-872b-4470-b130-e3d28e6bfdfb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6802
* eval db.writeln('"641a0f48-872b-4470-b130-e3d28e6bfdfb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.180:18]b5ee6914-04bd-4c7e-a180-242371ae40d9
ms: 301
>>
Background:
6803
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
6804
* def mystorage = Java.type('storage.DataStorage')
1
6805
* def db = new mystorage
1
6806
* def db = db.setfeature(karate.info.featureFileName)
1
6807
* def separator = java.lang.System.getProperty("file.separator")
1
6808
* def outputpath = db.outputpath()
1
6809
* eval db.ensureDirectory(outputpath)
1
6810
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6811
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6812
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6813
Given path 'geonetwork/srv/dut/inspire'
1
6814
And param service = 'CSW'
1
6815
And param version = '2.0.2'
1
6816
And param request = 'GetRecordById'
0
6817
And param id = 'b5ee6914-04bd-4c7e-a180-242371ae40d9'
1
6818
And param elementsetname = 'full'
0
6819
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6820
When method get
280
6821
Then status 200
0
6822
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b5ee6914-04bd-4c7e-a180-242371ae40d9'
2
6823
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6824
* def title = get response //citation/CI_Citation/title/CharacterString
1
6825
* def email = get response //electronicMailAddress/CharacterString
1
6826
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6827
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6828
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6829
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6830
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6831
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6832
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
6833
* print connectUrl
0
15:15:24.968 [print] https://inspire.rivm.nl/atom/index.xml
6834
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6835
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6836
* print organisationpath
0
15:15:24.969 [print] Rijksinstituut voor Volksgezondheid en Milieu
6837
* print operateson
0
15:15:24.969 [print] [
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=50a2c5e6-c8e7-425d-854e-26f578196bc9#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=08b27bf0-e34a-4b30-9eac-5edadfb6a288#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f2f86edf-ac3a-48e8-9292-0544da2d7645#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ad6caa40-89ab-47e3-85ab-3f8e32024a71#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f8d840bc-18df-4449-b797-b9adcb81d3ec#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d3c9efd6-fca7-49d6-92bb-5f507abece90#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=32a21114-8694-40ce-ab76-9dcd885c7861#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d24ccb35-e9d2-41bf-b231-43083fc0c76d#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=36a7e8cb-8300-4602-93d2-135943365a6f#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b3f66964-a8c1-456f-9799-9cafca2cb7b1#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e1e99000-ec47-4e9f-84a5-adad24fef0dc#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8a4f5c3b-aced-48fd-afb5-f1f1d0ef21d6#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d9baa847-4652-4588-abe1-0b050f40f27f#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2cc2c30c-91b8-412a-a060-e84d25272581#MD_DataIdentification"
]
6838
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6839
* eval db.writeln('"b5ee6914-04bd-4c7e-a180-242371ae40d9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6840
* eval db.writeln('"b5ee6914-04bd-4c7e-a180-242371ae40d9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
7
Scenario Outline: [1.181:18]101a2cc7-bb53-4a16-98f9-bab1f4745b01
ms: 298
>>
Background:
6841
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
6842
* def mystorage = Java.type('storage.DataStorage')
1
6843
* def db = new mystorage
1
6844
* def db = db.setfeature(karate.info.featureFileName)
1
6845
* def separator = java.lang.System.getProperty("file.separator")
1
6846
* def outputpath = db.outputpath()
1
6847
* eval db.ensureDirectory(outputpath)
1
6848
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6849
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6850
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6851
Given path 'geonetwork/srv/dut/inspire'
1
6852
And param service = 'CSW'
1
6853
And param version = '2.0.2'
1
6854
And param request = 'GetRecordById'
1
6855
And param id = '101a2cc7-bb53-4a16-98f9-bab1f4745b01'
1
6856
And param elementsetname = 'full'
1
6857
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
1
6858
When method get
281
6859
Then status 200
0
6860
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '101a2cc7-bb53-4a16-98f9-bab1f4745b01'
1
6861
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6862
* def title = get response //citation/CI_Citation/title/CharacterString
1
6863
* def email = get response //electronicMailAddress/CharacterString
1
6864
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6865
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6866
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6867
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6868
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6869
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6870
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
6871
* print connectUrl
0
15:15:25.049 [print] https://service.pdok.nl/rce/ps-ch/wfs/v1_0?request=GetCapabilities&service=wfs
6872
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6873
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6874
* print organisationpath
0
15:15:25.050 [print] Beheer PDOK
6875
* print operateson
0
15:15:25.050 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=493ab81b-75f8-4205-b030-6b2fd9eb4295#MD_DataIdentification
6876
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6877
* eval db.writeln('"101a2cc7-bb53-4a16-98f9-bab1f4745b01","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6878
* eval db.writeln('"101a2cc7-bb53-4a16-98f9-bab1f4745b01","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.182:18]0080a9ce-b836-45bc-8fdf-07dcbe97101d
ms: 304
>>
Background:
6879
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
6880
* def mystorage = Java.type('storage.DataStorage')
1
6881
* def db = new mystorage
1
6882
* def db = db.setfeature(karate.info.featureFileName)
1
6883
* def separator = java.lang.System.getProperty("file.separator")
1
6884
* def outputpath = db.outputpath()
1
6885
* eval db.ensureDirectory(outputpath)
1
6886
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6887
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6888
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6889
Given path 'geonetwork/srv/dut/inspire'
0
6890
And param service = 'CSW'
0
6891
And param version = '2.0.2'
0
6892
And param request = 'GetRecordById'
0
6893
And param id = '0080a9ce-b836-45bc-8fdf-07dcbe97101d'
1
6894
And param elementsetname = 'full'
0
6895
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6896
When method get
292
6897
Then status 200
0
6898
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0080a9ce-b836-45bc-8fdf-07dcbe97101d'
1
6899
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6900
* def title = get response //citation/CI_Citation/title/CharacterString
1
6901
* def email = get response //electronicMailAddress/CharacterString
1
6902
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6903
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6904
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6905
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
6906
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6907
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6908
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
6909
* print connectUrl
0
15:15:25.149 [print] https://service.pdok.nl/rce/ps-ch/atom/v1_0/index.xml
6910
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6911
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6912
* print organisationpath
0
15:15:25.150 [print] Beheer PDOK
6913
* print operateson
0
15:15:25.150 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=493ab81b-75f8-4205-b030-6b2fd9eb4295&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
6914
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6915
* eval db.writeln('"0080a9ce-b836-45bc-8fdf-07dcbe97101d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6916
* eval db.writeln('"0080a9ce-b836-45bc-8fdf-07dcbe97101d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.183:18]d7a395a2-8673-4794-a5a6-fed6492cd580
ms: 285
>>
Background:
6917
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
6918
* def mystorage = Java.type('storage.DataStorage')
1
6919
* def db = new mystorage
1
6920
* def db = db.setfeature(karate.info.featureFileName)
1
6921
* def separator = java.lang.System.getProperty("file.separator")
1
6922
* def outputpath = db.outputpath()
1
6923
* eval db.ensureDirectory(outputpath)
1
6924
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6925
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6926
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6927
Given path 'geonetwork/srv/dut/inspire'
0
6928
And param service = 'CSW'
0
6929
And param version = '2.0.2'
0
6930
And param request = 'GetRecordById'
0
6931
And param id = 'd7a395a2-8673-4794-a5a6-fed6492cd580'
1
6932
And param elementsetname = 'full'
0
6933
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6934
When method get
274
6935
Then status 200
0
6936
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd7a395a2-8673-4794-a5a6-fed6492cd580'
1
6937
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6938
* def title = get response //citation/CI_Citation/title/CharacterString
1
6939
* def email = get response //electronicMailAddress/CharacterString
0
6940
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6941
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6942
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6943
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6944
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6945
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6946
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
6947
* print connectUrl
0
15:15:25.184 [print] https://geodata.nationaalgeoregister.nl/luchtfoto/infrarood/wms?request=GetCapabilities
6948
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6949
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
6950
* print organisationpath
0
15:15:25.185 [print] Beheer PDOK
6951
* print operateson
0
15:15:25.185 [print] [
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1be28290-55fa-4486-b9d3-b9d147117863#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=7c24ea89-074e-4c4f-91e3-d38e813e9cb6#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=7f5d7945-8fa8-4d36-be4c-2fdb3c7d613b#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9ed6b8ed-254a-4745-a09a-3b57137d1b69#MD_DataIdentification"
]
6952
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
6953
* eval db.writeln('"d7a395a2-8673-4794-a5a6-fed6492cd580","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
6954
* eval db.writeln('"d7a395a2-8673-4794-a5a6-fed6492cd580","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.184:18]49ff0584-a173-4098-824c-119edf8447f7
ms: 276
>>
Background:
6955
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
6956
* def mystorage = Java.type('storage.DataStorage')
1
6957
* def db = new mystorage
1
6958
* def db = db.setfeature(karate.info.featureFileName)
1
6959
* def separator = java.lang.System.getProperty("file.separator")
1
6960
* def outputpath = db.outputpath()
1
6961
* eval db.ensureDirectory(outputpath)
1
6962
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
6963
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
6964
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
6965
Given path 'geonetwork/srv/dut/inspire'
0
6966
And param service = 'CSW'
0
6967
And param version = '2.0.2'
0
6968
And param request = 'GetRecordById'
0
6969
And param id = '49ff0584-a173-4098-824c-119edf8447f7'
1
6970
And param elementsetname = 'full'
0
6971
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
6972
When method get
264
6973
Then status 200
0
6974
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '49ff0584-a173-4098-824c-119edf8447f7'
1
6975
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
6976
* def title = get response //citation/CI_Citation/title/CharacterString
1
6977
* def email = get response //electronicMailAddress/CharacterString
1
6978
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
6979
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
6980
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
6981
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
6982
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
6983
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
6984
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
6985
* print connectUrl
0
15:15:25.251 [print] http://services.rce.geovoorziening.nl/rce/wms?
6986
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
6987
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
6988
* print organisationpath
0
15:15:25.252 [print] Rijksdienst voor het Cultureel Erfgoed
6989
* print operateson
0
15:15:25.252 [print] [
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=6f84efeb-fc1d-4565-a721-80735ea57dbd&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full",
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=dfe5b146-354f-4bc7-99b1-6713817afac9&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full",
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=4e2ef670-cddd-11dd-ad8b-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full",
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88a3c1ae-902e-4efa-8663-ddd836101929&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full"
]
6990
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
6991
* eval db.writeln('"49ff0584-a173-4098-824c-119edf8447f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
6992
* eval db.writeln('"49ff0584-a173-4098-824c-119edf8447f7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.185:18]6bd9f72e-dcd2-11e3-ab0a-901b0e19e163
ms: 293
>>
Background:
6993
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
6994
* def mystorage = Java.type('storage.DataStorage')
1
6995
* def db = new mystorage
1
6996
* def db = db.setfeature(karate.info.featureFileName)
1
6997
* def separator = java.lang.System.getProperty("file.separator")
1
6998
* def outputpath = db.outputpath()
1
6999
* eval db.ensureDirectory(outputpath)
1
7000
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7001
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7002
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7003
Given path 'geonetwork/srv/dut/inspire'
1
7004
And param service = 'CSW'
0
7005
And param version = '2.0.2'
0
7006
And param request = 'GetRecordById'
0
7007
And param id = '6bd9f72e-dcd2-11e3-ab0a-901b0e19e163'
1
7008
And param elementsetname = 'full'
0
7009
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7010
When method get
279
7011
Then status 200
0
7012
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6bd9f72e-dcd2-11e3-ab0a-901b0e19e163'
1
7013
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7014
* def title = get response //citation/CI_Citation/title/CharacterString
1
7015
* def email = get response //electronicMailAddress/CharacterString
1
7016
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7017
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7018
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7019
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7020
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7021
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7022
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
7023
* print connectUrl
0
15:15:25.343 [print] http://geoservices.knmi.nl/cgi-bin/inspire/waarneemstations.cgi?&service=wms&
7024
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7025
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7026
* print organisationpath
0
15:15:25.344 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI)
7027
* print operateson
0
15:15:25.344 [print] http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=380aa01e-dce7-11e3-9f07-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full
7028
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
7029
* eval db.writeln('"6bd9f72e-dcd2-11e3-ab0a-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7030
* eval db.writeln('"6bd9f72e-dcd2-11e3-ab0a-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.186:18]73914696-dc43-11e3-bdbb-901b0e19e163
ms: 283
>>
Background:
7031
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
7032
* def mystorage = Java.type('storage.DataStorage')
1
7033
* def db = new mystorage
1
7034
* def db = db.setfeature(karate.info.featureFileName)
1
7035
* def separator = java.lang.System.getProperty("file.separator")
1
7036
* def outputpath = db.outputpath()
1
7037
* eval db.ensureDirectory(outputpath)
1
7038
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7039
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7040
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7041
Given path 'geonetwork/srv/dut/inspire'
1
7042
And param service = 'CSW'
0
7043
And param version = '2.0.2'
0
7044
And param request = 'GetRecordById'
0
7045
And param id = '73914696-dc43-11e3-bdbb-901b0e19e163'
1
7046
And param elementsetname = 'full'
0
7047
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7048
When method get
271
7049
Then status 200
0
7050
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '73914696-dc43-11e3-bdbb-901b0e19e163'
1
7051
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7052
* def title = get response //citation/CI_Citation/title/CharacterString
1
7053
* def email = get response //electronicMailAddress/CharacterString
1
7054
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7055
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7056
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7057
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7058
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7059
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7060
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
7061
* print connectUrl
0
15:15:25.433 [print] http://geoservices.knmi.nl/cgi-bin/inspire/aardbevingen_nederland.cgi?service=wms&
7062
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7063
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7064
* print organisationpath
0
15:15:25.434 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI)
7065
* print operateson
0
15:15:25.434 [print] http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=b59f06c0-dce5-11e3-9c10-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full
7066
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
7067
* eval db.writeln('"73914696-dc43-11e3-bdbb-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7068
* eval db.writeln('"73914696-dc43-11e3-bdbb-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.187:18]wt-f5eb-b09f-4f6d-8397-8878a1m86238
ms: 392
>>
Background:
7069
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
7070
* def mystorage = Java.type('storage.DataStorage')
1
7071
* def db = new mystorage
1
7072
* def db = db.setfeature(karate.info.featureFileName)
1
7073
* def separator = java.lang.System.getProperty("file.separator")
1
7074
* def outputpath = db.outputpath()
1
7075
* eval db.ensureDirectory(outputpath)
1
7076
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7077
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7078
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7079
Given path 'geonetwork/srv/dut/inspire'
0
7080
And param service = 'CSW'
0
7081
And param version = '2.0.2'
0
7082
And param request = 'GetRecordById'
0
7083
And param id = 'wt-f5eb-b09f-4f6d-8397-8878a1m86238'
0
7084
And param elementsetname = 'full'
0
7085
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7086
When method get
367
7087
Then status 200
0
7088
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-f5eb-b09f-4f6d-8397-8878a1m86238'
1
7089
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7090
* def title = get response //citation/CI_Citation/title/CharacterString
1
7091
* def email = get response //electronicMailAddress/CharacterString
1
7092
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7093
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7094
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7095
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7096
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7097
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7098
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
7099
* print connectUrl
0
15:15:25.565 [print] https://haleconnect.com/ows/services/org.292.42527b86-52a7-4b94-9f83-8e8a9e900f5a_wms?service=WMS&version=1.3.0&request=GetCapabilities
7100
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7101
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7102
* print organisationpath
0
15:15:25.566 [print] Rijkswaterstaat
7103
* print operateson
0
15:15:25.566 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-f5eb-b09f-4f6d-8397-8878a1b86238#MD_DataIdentification
7104
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
7105
* eval db.writeln('"wt-f5eb-b09f-4f6d-8397-8878a1m86238","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7106
* eval db.writeln('"wt-f5eb-b09f-4f6d-8397-8878a1m86238","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
14
Scenario Outline: [1.188:18]635bdc85-c596-4afb-ab07-de20c662310c
ms: 385
>>
Background:
7107
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
7108
* def mystorage = Java.type('storage.DataStorage')
1
7109
* def db = new mystorage
1
7110
* def db = db.setfeature(karate.info.featureFileName)
1
7111
* def separator = java.lang.System.getProperty("file.separator")
1
7112
* def outputpath = db.outputpath()
1
7113
* eval db.ensureDirectory(outputpath)
1
7114
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7115
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7116
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7117
Given path 'geonetwork/srv/dut/inspire'
0
7118
And param service = 'CSW'
0
7119
And param version = '2.0.2'
0
7120
And param request = 'GetRecordById'
0
7121
And param id = '635bdc85-c596-4afb-ab07-de20c662310c'
1
7122
And param elementsetname = 'full'
0
7123
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7124
When method get
306
7125
Then status 200
0
7126
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '635bdc85-c596-4afb-ab07-de20c662310c'
1
7127
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7128
* def title = get response //citation/CI_Citation/title/CharacterString
1
7129
* def email = get response //electronicMailAddress/CharacterString
0
7130
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7131
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7132
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7133
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7134
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7135
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7136
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
7137
* print connectUrl
0
15:15:25.568 [print] https://geodata.nationaalgeoregister.nl/inspire/sr/wms?request=GetCapabilities
7138
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7139
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
60
7140
* print organisationpath
0
15:15:25.628 [print] Beheer PDOK
7141
* print operateson
0
15:15:25.628 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=791adbe3-772f-42cb-a3be-5a617bcecef0#MD_DataIdentification
7142
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
7143
* eval db.writeln('"635bdc85-c596-4afb-ab07-de20c662310c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
11
7144
* eval db.writeln('"635bdc85-c596-4afb-ab07-de20c662310c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.189:18]b85d4a0a-c0f7-42f4-9316-b214d205ca38
ms: 311
>>
Background:
7145
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
7146
* def mystorage = Java.type('storage.DataStorage')
1
7147
* def db = new mystorage
1
7148
* def db = db.setfeature(karate.info.featureFileName)
1
7149
* def separator = java.lang.System.getProperty("file.separator")
1
7150
* def outputpath = db.outputpath()
1
7151
* eval db.ensureDirectory(outputpath)
1
7152
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7153
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7154
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7155
Given path 'geonetwork/srv/dut/inspire'
0
7156
And param service = 'CSW'
0
7157
And param version = '2.0.2'
0
7158
And param request = 'GetRecordById'
0
7159
And param id = 'b85d4a0a-c0f7-42f4-9316-b214d205ca38'
0
7160
And param elementsetname = 'full'
0
7161
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7162
When method get
281
7163
Then status 200
0
7164
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b85d4a0a-c0f7-42f4-9316-b214d205ca38'
19
7165
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7166
* def title = get response //citation/CI_Citation/title/CharacterString
0
7167
* def email = get response //electronicMailAddress/CharacterString
0
7168
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7169
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7170
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7171
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7172
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7173
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7174
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
7175
* print connectUrl
0
15:15:25.653 [print] http://inspire.rdw.nl/www/download/rdw-inspire.xml
7176
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7177
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7178
* print organisationpath
0
15:15:25.654 [print] RDW
7179
* print operateson
0
15:15:25.654 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=fe2f9091-1962-4073-9e3b-3e4aeed488a5#MD_DataIdentification
7180
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7181
* eval db.writeln('"b85d4a0a-c0f7-42f4-9316-b214d205ca38","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
4
7182
* eval db.writeln('"b85d4a0a-c0f7-42f4-9316-b214d205ca38","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.190:18]bf56537a-dce6-11e3-82c1-901b0e19e163
ms: 294
>>
Background:
7183
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
7184
* def mystorage = Java.type('storage.DataStorage')
1
7185
* def db = new mystorage
1
7186
* def db = db.setfeature(karate.info.featureFileName)
1
7187
* def separator = java.lang.System.getProperty("file.separator")
1
7188
* def outputpath = db.outputpath()
1
7189
* eval db.ensureDirectory(outputpath)
1
7190
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7191
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7192
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7193
Given path 'geonetwork/srv/dut/inspire'
1
7194
And param service = 'CSW'
0
7195
And param version = '2.0.2'
0
7196
And param request = 'GetRecordById'
0
7197
And param id = 'bf56537a-dce6-11e3-82c1-901b0e19e163'
1
7198
And param elementsetname = 'full'
0
7199
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7200
When method get
282
7201
Then status 200
0
7202
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bf56537a-dce6-11e3-82c1-901b0e19e163'
1
7203
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7204
* def title = get response //citation/CI_Citation/title/CharacterString
1
7205
* def email = get response //electronicMailAddress/CharacterString
0
7206
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7207
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7208
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7209
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7210
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7211
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7212
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
7213
* print connectUrl
0
15:15:25.728 [print] http://geoservices.knmi.nl/cgi-bin/inspire/etmaalgegevensKNMIstations.cgi?service=wms&
7214
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7215
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7216
* print organisationpath
0
15:15:25.729 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI)
7217
* print operateson
0
15:15:25.729 [print] http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=daa63e4c-dce6-11e3-991e-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full
7218
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7219
* eval db.writeln('"bf56537a-dce6-11e3-82c1-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7220
* eval db.writeln('"bf56537a-dce6-11e3-82c1-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.191:18]108fec55-e467-4d04-ab35-fd0d7060e3e2
ms: 378
>>
Background:
7221
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
7222
* def mystorage = Java.type('storage.DataStorage')
1
7223
* def db = new mystorage
1
7224
* def db = db.setfeature(karate.info.featureFileName)
1
7225
* def separator = java.lang.System.getProperty("file.separator")
1
7226
* def outputpath = db.outputpath()
1
7227
* eval db.ensureDirectory(outputpath)
1
7228
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7229
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7230
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7231
Given path 'geonetwork/srv/dut/inspire'
0
7232
And param service = 'CSW'
0
7233
And param version = '2.0.2'
0
7234
And param request = 'GetRecordById'
0
7235
And param id = '108fec55-e467-4d04-ab35-fd0d7060e3e2'
12
7236
And param elementsetname = 'full'
1
7237
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7238
When method get
355
7239
Then status 200
0
7240
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '108fec55-e467-4d04-ab35-fd0d7060e3e2'
1
7241
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7242
* def title = get response //citation/CI_Citation/title/CharacterString
0
7243
* def email = get response //electronicMailAddress/CharacterString
0
7244
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7245
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7246
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7247
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7248
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7249
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7250
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
7251
* print connectUrl
0
15:15:26.015 [print] https://geodata.nationaalgeoregister.nl/rws/richtlijnstedelijkafvalwater2015/wms/v1_0?request=GetCapabilities&service=WMS
7252
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7253
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7254
* print organisationpath
0
15:15:26.016 [print] Beheer PDOK
7255
* print operateson
0
15:15:26.016 [print] [
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e1#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e2#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=uwwtd-9d8e-4758-83fa-28b057f185e3#MD_DataIdentification"
]
7256
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7257
* eval db.writeln('"108fec55-e467-4d04-ab35-fd0d7060e3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7258
* eval db.writeln('"108fec55-e467-4d04-ab35-fd0d7060e3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.192:18]e75b66ae-21b1-4303-aeb3-787608707b23
ms: 345
>>
Background:
7259
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
7260
* def mystorage = Java.type('storage.DataStorage')
1
7261
* def db = new mystorage
1
7262
* def db = db.setfeature(karate.info.featureFileName)
1
7263
* def separator = java.lang.System.getProperty("file.separator")
1
7264
* def outputpath = db.outputpath()
1
7265
* eval db.ensureDirectory(outputpath)
1
7266
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7267
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7268
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7269
Given path 'geonetwork/srv/dut/inspire'
12
7270
And param service = 'CSW'
0
7271
And param version = '2.0.2'
0
7272
And param request = 'GetRecordById'
0
7273
And param id = 'e75b66ae-21b1-4303-aeb3-787608707b23'
0
7274
And param elementsetname = 'full'
0
7275
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7276
When method get
322
7277
Then status 200
0
7278
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e75b66ae-21b1-4303-aeb3-787608707b23'
1
7279
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7280
* def title = get response //citation/CI_Citation/title/CharacterString
1
7281
* def email = get response //electronicMailAddress/CharacterString
1
7282
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7283
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7284
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7285
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7286
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7287
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7288
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
7289
* print connectUrl
0
15:15:25.984 [print] https://geodata.nationaalgeoregister.nl/inspire/elu/wfs?request=GetCapabilities
7290
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7291
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7292
* print organisationpath
0
15:15:25.985 [print] Beheer PDOK
7293
* print operateson
0
15:15:25.985 [print] https://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6318009c-7b11-4ab9-9929-735584dfb692#MD_DataIdentification
7294
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
7295
* eval db.writeln('"e75b66ae-21b1-4303-aeb3-787608707b23","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7296
* eval db.writeln('"e75b66ae-21b1-4303-aeb3-787608707b23","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.193:18]c474b492-da63-4a33-9bdd-b3709ce2cd6c
ms: 401
>>
Background:
7297
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
7298
* def mystorage = Java.type('storage.DataStorage')
1
7299
* def db = new mystorage
1
7300
* def db = db.setfeature(karate.info.featureFileName)
1
7301
* def separator = java.lang.System.getProperty("file.separator")
1
7302
* def outputpath = db.outputpath()
1
7303
* eval db.ensureDirectory(outputpath)
1
7304
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7305
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7306
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7307
Given path 'geonetwork/srv/dut/inspire'
1
7308
And param service = 'CSW'
0
7309
And param version = '2.0.2'
0
7310
And param request = 'GetRecordById'
0
7311
And param id = 'c474b492-da63-4a33-9bdd-b3709ce2cd6c'
0
7312
And param elementsetname = 'full'
0
7313
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7314
When method get
390
7315
Then status 200
0
7316
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c474b492-da63-4a33-9bdd-b3709ce2cd6c'
1
7317
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7318
* def title = get response //citation/CI_Citation/title/CharacterString
0
7319
* def email = get response //electronicMailAddress/CharacterString
0
7320
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7321
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7322
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7323
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7324
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7325
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7326
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
7327
* print connectUrl
0
15:15:26.057 [print] https://geodata.nationaalgeoregister.nl/ienw/geluidskaartschipholnacht/v2/wms?request=GetCapabilities
7328
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7329
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7330
* print organisationpath
0
15:15:26.058 [print] Beheer PDOK
7331
* print operateson
0
15:15:26.058 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=58d39928-f502-48c9-a8c1-03244dc181bf#MD_DataIdentification
7332
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7333
* eval db.writeln('"c474b492-da63-4a33-9bdd-b3709ce2cd6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7334
* eval db.writeln('"c474b492-da63-4a33-9bdd-b3709ce2cd6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.194:18]25c69c01-8dfa-406f-bbcb-24feba25dcc6
ms: 370
>>
Background:
7335
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
7336
* def mystorage = Java.type('storage.DataStorage')
1
7337
* def db = new mystorage
1
7338
* def db = db.setfeature(karate.info.featureFileName)
1
7339
* def separator = java.lang.System.getProperty("file.separator")
1
7340
* def outputpath = db.outputpath()
1
7341
* eval db.ensureDirectory(outputpath)
1
7342
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7343
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7344
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7345
Given path 'geonetwork/srv/dut/inspire'
1
7346
And param service = 'CSW'
0
7347
And param version = '2.0.2'
0
7348
And param request = 'GetRecordById'
0
7349
And param id = '25c69c01-8dfa-406f-bbcb-24feba25dcc6'
1
7350
And param elementsetname = 'full'
0
7351
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7352
When method get
357
7353
Then status 200
0
7354
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '25c69c01-8dfa-406f-bbcb-24feba25dcc6'
1
7355
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7356
* def title = get response //citation/CI_Citation/title/CharacterString
1
7357
* def email = get response //electronicMailAddress/CharacterString
1
7358
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7359
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7360
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7361
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7362
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7363
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
7364
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
7365
* print connectUrl
0
15:15:26.097 [print] https://geodata.nationaalgeoregister.nl/provincies/ps/wms/v1?SERVICE=WMS&REQUEST=GetCapabilities
7366
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7367
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7368
* print organisationpath
0
15:15:26.099 [print] Beheer PDOK
7369
* print operateson
0
15:15:26.099 [print] [
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=49ab8bee-b467-486a-96ca-b950443c453a#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f002bfc5-7d87-46b6-819e-8415422b65c9#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f0821bfe-5a0a-11e9-8647-d663bd873d93#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=60a2a7c2-d5b3-4ad5-b562-c448695357fb#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c7d8d77b-8c47-4309-8c58-9b12b086407f#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=ca94a0cb-7561-4a10-a7d6-b840e56c33ff#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=cc408b2d-09a6-4b2b-9aa3-b46bfe2f00a5#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=998ba1dc-f6a6-49a3-a021-51f30d9b1d0e#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=49ab8bee-b467-486a-96ca-b950443c453a#MD_DataIdentification"
]
7370
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
7371
* eval db.writeln('"25c69c01-8dfa-406f-bbcb-24feba25dcc6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7372
* eval db.writeln('"25c69c01-8dfa-406f-bbcb-24feba25dcc6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.195:18]37e05521-c323-4dbe-aba4-de1178ba44a5
ms: 523
>>
Background:
7373
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
7374
* def mystorage = Java.type('storage.DataStorage')
1
7375
* def db = new mystorage
1
7376
* def db = db.setfeature(karate.info.featureFileName)
1
7377
* def separator = java.lang.System.getProperty("file.separator")
1
7378
* def outputpath = db.outputpath()
1
7379
* eval db.ensureDirectory(outputpath)
1
7380
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7381
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7382
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7383
Given path 'geonetwork/srv/dut/inspire'
0
7384
And param service = 'CSW'
0
7385
And param version = '2.0.2'
0
7386
And param request = 'GetRecordById'
0
7387
And param id = '37e05521-c323-4dbe-aba4-de1178ba44a5'
0
7388
And param elementsetname = 'full'
0
7389
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7390
When method get
383
7391
Then status 200
0
7392
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '37e05521-c323-4dbe-aba4-de1178ba44a5'
13
7393
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
12
7394
* def title = get response //citation/CI_Citation/title/CharacterString
17
7395
* def email = get response //electronicMailAddress/CharacterString
18
7396
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
9
7397
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
12
7398
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7399
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
5
7400
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
12
7401
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
7
7402
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
1
7403
* print connectUrl
0
15:15:26.479 [print] https://geodata.nationaalgeoregister.nl/vogelrichtlijnverspreidingsoorten/wfs?request=GetCapabilities
7404
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
11
7405
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
11
7406
* print organisationpath
0
15:15:26.501 [print] Beheer PDOK
7407
* print operateson
0
15:15:26.501 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=fcefa13c-44e2-4953-b6d6-1ddceebc57fc#MD_DataIdentification
7408
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
8
7409
* eval db.writeln('"37e05521-c323-4dbe-aba4-de1178ba44a5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7410
* eval db.writeln('"37e05521-c323-4dbe-aba4-de1178ba44a5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.196:18]8e7686c3-f75e-411f-866e-6985267b916b
ms: 542
>>
Background:
7411
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
7412
* def mystorage = Java.type('storage.DataStorage')
1
7413
* def db = new mystorage
1
7414
* def db = db.setfeature(karate.info.featureFileName)
1
7415
* def separator = java.lang.System.getProperty("file.separator")
1
7416
* def outputpath = db.outputpath()
1
7417
* eval db.ensureDirectory(outputpath)
1
7418
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7419
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7420
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7421
Given path 'geonetwork/srv/dut/inspire'
0
7422
And param service = 'CSW'
0
7423
And param version = '2.0.2'
0
7424
And param request = 'GetRecordById'
0
7425
And param id = '8e7686c3-f75e-411f-866e-6985267b916b'
0
7426
And param elementsetname = 'full'
0
7427
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7428
When method get
392
7429
Then status 200
0
7430
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8e7686c3-f75e-411f-866e-6985267b916b'
17
7431
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
23
7432
* def title = get response //citation/CI_Citation/title/CharacterString
38
7433
* def email = get response //electronicMailAddress/CharacterString
21
7434
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
8
7435
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
7
7436
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7437
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
4
7438
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
4
7439
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
5
7440
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
1
7441
* print connectUrl
0
15:15:26.541 [print] https://geodata.nationaalgeoregister.nl/vogelrichtlijnverspreidingsgebiedsoorten/wms?request=GetCapabilities
7442
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
5
7443
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
7
7444
* print organisationpath
0
15:15:26.553 [print] Beheer PDOK
7445
* print operateson
0
15:15:26.553 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=cbeaebc3-815a-48af-a978-0e16892865fc#MD_DataIdentification
7446
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
7
7447
* eval db.writeln('"8e7686c3-f75e-411f-866e-6985267b916b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7448
* eval db.writeln('"8e7686c3-f75e-411f-866e-6985267b916b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.197:18]d2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507
ms: 324
>>
Background:
7449
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
7450
* def mystorage = Java.type('storage.DataStorage')
1
7451
* def db = new mystorage
1
7452
* def db = db.setfeature(karate.info.featureFileName)
1
7453
* def separator = java.lang.System.getProperty("file.separator")
1
7454
* def outputpath = db.outputpath()
1
7455
* eval db.ensureDirectory(outputpath)
1
7456
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7457
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7458
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7459
Given path 'geonetwork/srv/dut/inspire'
2
7460
And param service = 'CSW'
0
7461
And param version = '2.0.2'
0
7462
And param request = 'GetRecordById'
0
7463
And param id = 'd2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507'
1
7464
And param elementsetname = 'full'
0
7465
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7466
When method get
310
7467
Then status 200
0
7468
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507'
1
7469
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7470
* def title = get response //citation/CI_Citation/title/CharacterString
1
7471
* def email = get response //electronicMailAddress/CharacterString
0
7472
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7473
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7474
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7475
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
7476
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
7477
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
7478
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
7479
* print connectUrl
0
15:15:26.381 [print] https://geodata.nationaalgeoregister.nl/rvo/inspire/invasieve-exoten/atom/v1_0/index.xml
7480
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
7481
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7482
* print organisationpath
0
15:15:26.382 [print] Beheer PDOK
7483
* print operateson
0
15:15:26.382 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3703b249-a0eb-484e-ba7a-10e31a55bcec#MD_DataIdentification
7484
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
7485
* eval db.writeln('"d2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7486
* eval db.writeln('"d2a05dd5-98e8-4f9c-8ba2-7fe2d5c7c507","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.198:18]1ec5b9c9-4b4d-4b6a-930e-6e5198d9b2bb
ms: 316
>>
Background:
7487
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
7488
* def mystorage = Java.type('storage.DataStorage')
1
7489
* def db = new mystorage
1
7490
* def db = db.setfeature(karate.info.featureFileName)
1
7491
* def separator = java.lang.System.getProperty("file.separator")
1
7492
* def outputpath = db.outputpath()
1
7493
* eval db.ensureDirectory(outputpath)
1
7494
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7495
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7496
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7497
Given path 'geonetwork/srv/dut/inspire'
0
7498
And param service = 'CSW'
0
7499
And param version = '2.0.2'
0
7500
And param request = 'GetRecordById'
0
7501
And param id = '1ec5b9c9-4b4d-4b6a-930e-6e5198d9b2bb'
1
7502
And param elementsetname = 'full'
0
7503
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7504
When method get
304
7505
Then status 200
0
7506
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1ec5b9c9-4b4d-4b6a-930e-6e5198d9b2bb'
1
7507
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7508
* def title = get response //citation/CI_Citation/title/CharacterString
1
7509
* def email = get response //electronicMailAddress/CharacterString
1
7510
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7511
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7512
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7513
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7514
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7515
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7516
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
7517
* print connectUrl
0
15:15:26.414 [print] https://geodata.nationaalgeoregister.nl/bestandbodemgebruik2015/atom/bestandbodemgebruik2015.xml
7518
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
2
7519
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7520
* print organisationpath
0
15:15:26.416 [print] Beheer PDOK
7521
* print operateson
0
15:15:26.416 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=2d3dd6d2-2d2b-4b5f-9e30-86e19ed77a56#MD_DataIdentification
7522
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
7523
* eval db.writeln('"1ec5b9c9-4b4d-4b6a-930e-6e5198d9b2bb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7524
* eval db.writeln('"1ec5b9c9-4b4d-4b6a-930e-6e5198d9b2bb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.199:18]76854ff3-a853-4405-b9fd-acef66460376
ms: 505
>>
Background:
7525
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
7526
* def mystorage = Java.type('storage.DataStorage')
1
7527
* def db = new mystorage
1
7528
* def db = db.setfeature(karate.info.featureFileName)
1
7529
* def separator = java.lang.System.getProperty("file.separator")
1
7530
* def outputpath = db.outputpath()
1
7531
* eval db.ensureDirectory(outputpath)
1
7532
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7533
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7534
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7535
Given path 'geonetwork/srv/dut/inspire'
1
7536
And param service = 'CSW'
0
7537
And param version = '2.0.2'
0
7538
And param request = 'GetRecordById'
0
7539
And param id = '76854ff3-a853-4405-b9fd-acef66460376'
0
7540
And param elementsetname = 'full'
0
7541
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7542
When method get
406
7543
Then status 200
0
7544
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '76854ff3-a853-4405-b9fd-acef66460376'
13
7545
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
12
7546
* def title = get response //citation/CI_Citation/title/CharacterString
8
7547
* def email = get response //electronicMailAddress/CharacterString
7
7548
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
17
7549
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
7
7550
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7551
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
4
7552
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
4
7553
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
4
7554
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
1
7555
* print connectUrl
0
15:15:26.871 [print] https://geodata.nationaalgeoregister.nl/vogelrichtlijnverspreidingsgebiedsoorten/wfs?request=GetCapabilities
7556
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
4
7557
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
7
7558
* print organisationpath
0
15:15:26.882 [print] Beheer PDOK
7559
* print operateson
0
15:15:26.882 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=cbeaebc3-815a-48af-a978-0e16892865fc#MD_DataIdentification
7560
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
7
7561
* eval db.writeln('"76854ff3-a853-4405-b9fd-acef66460376","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7562
* eval db.writeln('"76854ff3-a853-4405-b9fd-acef66460376","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.200:18]3ac5737f-55ed-455d-8350-44af11b67fc3
ms: 305
>>
Background:
7563
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
7564
* def mystorage = Java.type('storage.DataStorage')
1
7565
* def db = new mystorage
1
7566
* def db = db.setfeature(karate.info.featureFileName)
1
7567
* def separator = java.lang.System.getProperty("file.separator")
1
7568
* def outputpath = db.outputpath()
1
7569
* eval db.ensureDirectory(outputpath)
1
7570
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7571
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7572
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7573
Given path 'geonetwork/srv/dut/inspire'
0
7574
And param service = 'CSW'
0
7575
And param version = '2.0.2'
0
7576
And param request = 'GetRecordById'
0
7577
And param id = '3ac5737f-55ed-455d-8350-44af11b67fc3'
0
7578
And param elementsetname = 'full'
0
7579
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7580
When method get
294
7581
Then status 200
0
7582
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3ac5737f-55ed-455d-8350-44af11b67fc3'
1
7583
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7584
* def title = get response //citation/CI_Citation/title/CharacterString
1
7585
* def email = get response //electronicMailAddress/CharacterString
0
7586
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7587
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7588
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7589
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7590
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7591
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7592
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
7593
* print connectUrl
0
15:15:26.721 [print] https://geodata.nationaalgeoregister.nl/wijkenbuurten2019/wms?service=WMS&request=GetCapabilities
7594
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7595
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7596
* print organisationpath
0
15:15:26.722 [print] Beheer PDOK
7597
* print operateson
0
15:15:26.722 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5c37d29a-006d-4136-8989-adfc35a1d4a7#MD_DataIdentification
7598
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
7599
* eval db.writeln('"3ac5737f-55ed-455d-8350-44af11b67fc3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7600
* eval db.writeln('"3ac5737f-55ed-455d-8350-44af11b67fc3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.201:18]127125c8-20c2-451a-a1c8-f9aad8ae5c5e
ms: 301
>>
Background:
7601
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
7602
* def mystorage = Java.type('storage.DataStorage')
1
7603
* def db = new mystorage
1
7604
* def db = db.setfeature(karate.info.featureFileName)
1
7605
* def separator = java.lang.System.getProperty("file.separator")
1
7606
* def outputpath = db.outputpath()
1
7607
* eval db.ensureDirectory(outputpath)
1
7608
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7609
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7610
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7611
Given path 'geonetwork/srv/dut/inspire'
0
7612
And param service = 'CSW'
0
7613
And param version = '2.0.2'
0
7614
And param request = 'GetRecordById'
0
7615
And param id = '127125c8-20c2-451a-a1c8-f9aad8ae5c5e'
1
7616
And param elementsetname = 'full'
0
7617
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7618
When method get
286
7619
Then status 200
0
7620
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '127125c8-20c2-451a-a1c8-f9aad8ae5c5e'
1
7621
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7622
* def title = get response //citation/CI_Citation/title/CharacterString
1
7623
* def email = get response //electronicMailAddress/CharacterString
1
7624
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7625
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7626
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7627
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7628
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7629
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7630
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
7631
* print connectUrl
0
15:15:26.805 [print] https://geodata.nationaalgeoregister.nl/wijkenbuurten2016/wms?request=GetCapabilities
7632
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7633
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7634
* print organisationpath
0
15:15:26.806 [print] Beheer PDOK
7635
* print operateson
0
15:15:26.806 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6cde2ce7-3ecd-4785-b7b8-d62c3381efe9#MD_DataIdentification
7636
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
5
7637
* eval db.writeln('"127125c8-20c2-451a-a1c8-f9aad8ae5c5e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7638
* eval db.writeln('"127125c8-20c2-451a-a1c8-f9aad8ae5c5e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.202:18]0bc2bcb8-558b-446b-b4e2-381b13d483a8
ms: 283
>>
Background:
7639
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
7640
* def mystorage = Java.type('storage.DataStorage')
1
7641
* def db = new mystorage
1
7642
* def db = db.setfeature(karate.info.featureFileName)
1
7643
* def separator = java.lang.System.getProperty("file.separator")
1
7644
* def outputpath = db.outputpath()
1
7645
* eval db.ensureDirectory(outputpath)
1
7646
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7647
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7648
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7649
Given path 'geonetwork/srv/dut/inspire'
0
7650
And param service = 'CSW'
0
7651
And param version = '2.0.2'
0
7652
And param request = 'GetRecordById'
0
7653
And param id = '0bc2bcb8-558b-446b-b4e2-381b13d483a8'
1
7654
And param elementsetname = 'full'
0
7655
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7656
When method get
273
7657
Then status 200
0
7658
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0bc2bcb8-558b-446b-b4e2-381b13d483a8'
0
7659
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7660
* def title = get response //citation/CI_Citation/title/CharacterString
1
7661
* def email = get response //electronicMailAddress/CharacterString
0
7662
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7663
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7664
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7665
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7666
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7667
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7668
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
7669
* print connectUrl
0
15:15:26.842 [print] https://geodata.nationaalgeoregister.nl/mosselenoesterhabitats/wms?request=GetCapabilities
7670
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7671
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7672
* print organisationpath
0
15:15:26.843 [print] Beheer PDOK
7673
* print operateson
0
15:15:26.843 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3d59fd06-9aec-4744-91e7-65e119f74569#MD_DataIdentification
7674
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7675
* eval db.writeln('"0bc2bcb8-558b-446b-b4e2-381b13d483a8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7676
* eval db.writeln('"0bc2bcb8-558b-446b-b4e2-381b13d483a8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.203:18]ef2a7962-8bb4-483f-ca52-85123f579
ms: 291
>>
Background:
7677
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
7678
* def mystorage = Java.type('storage.DataStorage')
1
7679
* def db = new mystorage
1
7680
* def db = db.setfeature(karate.info.featureFileName)
1
7681
* def separator = java.lang.System.getProperty("file.separator")
1
7682
* def outputpath = db.outputpath()
1
7683
* eval db.ensureDirectory(outputpath)
1
7684
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7685
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7686
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7687
Given path 'geonetwork/srv/dut/inspire'
1
7688
And param service = 'CSW'
0
7689
And param version = '2.0.2'
0
7690
And param request = 'GetRecordById'
0
7691
And param id = 'ef2a7962-8bb4-483f-ca52-85123f579'
0
7692
And param elementsetname = 'full'
0
7693
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7694
When method get
281
7695
Then status 200
0
7696
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ef2a7962-8bb4-483f-ca52-85123f579'
1
7697
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7698
* def title = get response //citation/CI_Citation/title/CharacterString
0
7699
* def email = get response //electronicMailAddress/CharacterString
0
7700
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
7701
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7702
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7703
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7704
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7705
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7706
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
7707
* print connectUrl
0
15:15:27.013 [print] http://data.waterkwaliteitsportaal.nl/inspire/ds/nl.xml
7708
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7709
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7710
* print organisationpath
0
15:15:27.014 [print] Informatiehuis Water
7711
* print operateson
0
15:15:27.014 [print] [
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=110f9ec6-4464-462e-9765-83d90cefbeab&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full",
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=891ddc2d-8949-4a45-be96-c65b87c41f13&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full"
]
7712
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7713
* eval db.writeln('"ef2a7962-8bb4-483f-ca52-85123f579","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7714
* eval db.writeln('"ef2a7962-8bb4-483f-ca52-85123f579","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.204:18]adn573b0-bd3b-4d7b-a97d-e65841e6e0b4
ms: 302
>>
Background:
7715
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
7716
* def mystorage = Java.type('storage.DataStorage')
1
7717
* def db = new mystorage
1
7718
* def db = db.setfeature(karate.info.featureFileName)
1
7719
* def separator = java.lang.System.getProperty("file.separator")
1
7720
* def outputpath = db.outputpath()
1
7721
* eval db.ensureDirectory(outputpath)
1
7722
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7723
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7724
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7725
Given path 'geonetwork/srv/dut/inspire'
0
7726
And param service = 'CSW'
0
7727
And param version = '2.0.2'
0
7728
And param request = 'GetRecordById'
0
7729
And param id = 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b4'
7
7730
And param elementsetname = 'full'
0
7731
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7732
When method get
282
7733
Then status 200
0
7734
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b4'
1
7735
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7736
* def title = get response //citation/CI_Citation/title/CharacterString
1
7737
* def email = get response //electronicMailAddress/CharacterString
1
7738
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7739
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7740
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7741
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
7742
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7743
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7744
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
7745
* print connectUrl
0
15:15:27.112 [print] https://inspire.caris.nl/geoserver3/rws1/wms?service=WMS&version=1.3.0&request=GetCapabilities
7746
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7747
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7748
* print organisationpath
0
15:15:27.113 [print] Rijkswaterstaat
7749
* print operateson
0
15:15:27.113 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?SERVICE=csw&VERSION=2.0.2&REQUEST=GetRecordById&ID=adn73c4a-ef03-4785-b7f6-942e86b385f7&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
7750
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
7751
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7752
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.205:18]76342a6d-452e-4e21-b5c0-81ff7b1be90e
ms: 310
>>
Background:
7753
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
7754
* def mystorage = Java.type('storage.DataStorage')
1
7755
* def db = new mystorage
1
7756
* def db = db.setfeature(karate.info.featureFileName)
1
7757
* def separator = java.lang.System.getProperty("file.separator")
1
7758
* def outputpath = db.outputpath()
1
7759
* eval db.ensureDirectory(outputpath)
1
7760
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7761
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7762
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7763
Given path 'geonetwork/srv/dut/inspire'
0
7764
And param service = 'CSW'
0
7765
And param version = '2.0.2'
0
7766
And param request = 'GetRecordById'
0
7767
And param id = '76342a6d-452e-4e21-b5c0-81ff7b1be90e'
0
7768
And param elementsetname = 'full'
0
7769
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7770
When method get
300
7771
Then status 200
0
7772
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '76342a6d-452e-4e21-b5c0-81ff7b1be90e'
1
7773
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7774
* def title = get response //citation/CI_Citation/title/CharacterString
1
7775
* def email = get response //electronicMailAddress/CharacterString
1
7776
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7777
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7778
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7779
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7780
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7781
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7782
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
7783
* print connectUrl
0
15:15:27.153 [print] https://www.broinspireservices.nl/wfs/ossobor-a-v1.0?request=GetCapabilities&service=WFS&version=2.0.0
7784
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7785
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7786
* print organisationpath
0
15:15:27.154 [print] TNO Geologische Dienst Nederland
7787
* print operateson
0
15:15:27.154 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=9dd9bf30-36e6-45ae-b368-bdef2720bdde&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
7788
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7789
* eval db.writeln('"76342a6d-452e-4e21-b5c0-81ff7b1be90e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
7790
* eval db.writeln('"76342a6d-452e-4e21-b5c0-81ff7b1be90e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.206:18]7681eb19-a914-4dc7-9208-c2a131dca06d
ms: 309
>>
Background:
7791
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
7792
* def mystorage = Java.type('storage.DataStorage')
1
7793
* def db = new mystorage
1
7794
* def db = db.setfeature(karate.info.featureFileName)
1
7795
* def separator = java.lang.System.getProperty("file.separator")
1
7796
* def outputpath = db.outputpath()
1
7797
* eval db.ensureDirectory(outputpath)
1
7798
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7799
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7800
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7801
Given path 'geonetwork/srv/dut/inspire'
0
7802
And param service = 'CSW'
0
7803
And param version = '2.0.2'
0
7804
And param request = 'GetRecordById'
0
7805
And param id = '7681eb19-a914-4dc7-9208-c2a131dca06d'
1
7806
And param elementsetname = 'full'
0
7807
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7808
When method get
299
7809
Then status 200
0
7810
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7681eb19-a914-4dc7-9208-c2a131dca06d'
1
7811
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7812
* def title = get response //citation/CI_Citation/title/CharacterString
0
7813
* def email = get response //electronicMailAddress/CharacterString
0
7814
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7815
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7816
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7817
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7818
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7819
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7820
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
7821
* print connectUrl
0
15:15:27.197 [print] https://geodata.nationaalgeoregister.nl/rws/kaderrichtlijnwater2015/wms/v1_0?service=WMS&request=GetCapabilities
7822
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7823
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7824
* print organisationpath
0
15:15:27.198 [print] Beheer PDOK
7825
* print operateson
0
15:15:27.198 [print] [
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=110f9ec6-4464-462e-9765-83d90cefbeag#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=110f9ec6-4464-462e-9765-83d90cefbead#MD_DataIdentification"
]
7826
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7827
* eval db.writeln('"7681eb19-a914-4dc7-9208-c2a131dca06d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7828
* eval db.writeln('"7681eb19-a914-4dc7-9208-c2a131dca06d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.207:18]ddf33bff-8de3-4cca-b6f5-24d18daa502f
ms: 285
>>
Background:
7829
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
7830
* def mystorage = Java.type('storage.DataStorage')
1
7831
* def db = new mystorage
1
7832
* def db = db.setfeature(karate.info.featureFileName)
1
7833
* def separator = java.lang.System.getProperty("file.separator")
1
7834
* def outputpath = db.outputpath()
1
7835
* eval db.ensureDirectory(outputpath)
1
7836
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7837
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7838
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7839
Given path 'geonetwork/srv/dut/inspire'
0
7840
And param service = 'CSW'
0
7841
And param version = '2.0.2'
0
7842
And param request = 'GetRecordById'
0
7843
And param id = 'ddf33bff-8de3-4cca-b6f5-24d18daa502f'
0
7844
And param elementsetname = 'full'
0
7845
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7846
When method get
274
7847
Then status 200
0
7848
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ddf33bff-8de3-4cca-b6f5-24d18daa502f'
1
7849
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
7850
* def title = get response //citation/CI_Citation/title/CharacterString
0
7851
* def email = get response //electronicMailAddress/CharacterString
0
7852
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7853
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
7854
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7855
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7856
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7857
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7858
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
7859
* print connectUrl
0
15:15:27.298 [print] https://geodata.nationaalgeoregister.nl/rws/kaderrichtlijnwater2015/atom/v1_0/index.xml
7860
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7861
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7862
* print organisationpath
0
15:15:27.299 [print] Beheer PDOK
7863
* print operateson
0
15:15:27.299 [print] [
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=110f9ec6-4464-462e-9765-83d90cefbeag#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=110f9ec6-4464-462e-9765-83d90cefbead#MD_DataIdentification"
]
7864
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7865
* eval db.writeln('"ddf33bff-8de3-4cca-b6f5-24d18daa502f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7866
* eval db.writeln('"ddf33bff-8de3-4cca-b6f5-24d18daa502f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.208:18]f5660ac6-8031-4acc-832c-1d1b82b062ba
ms: 293
>>
Background:
7867
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
7868
* def mystorage = Java.type('storage.DataStorage')
1
7869
* def db = new mystorage
1
7870
* def db = db.setfeature(karate.info.featureFileName)
1
7871
* def separator = java.lang.System.getProperty("file.separator")
1
7872
* def outputpath = db.outputpath()
1
7873
* eval db.ensureDirectory(outputpath)
1
7874
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7875
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7876
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7877
Given path 'geonetwork/srv/dut/inspire'
1
7878
And param service = 'CSW'
0
7879
And param version = '2.0.2'
0
7880
And param request = 'GetRecordById'
0
7881
And param id = 'f5660ac6-8031-4acc-832c-1d1b82b062ba'
0
7882
And param elementsetname = 'full'
0
7883
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7884
When method get
280
7885
Then status 200
0
7886
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f5660ac6-8031-4acc-832c-1d1b82b062ba'
1
7887
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7888
* def title = get response //citation/CI_Citation/title/CharacterString
1
7889
* def email = get response //electronicMailAddress/CharacterString
1
7890
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7891
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7892
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7893
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7894
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7895
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7896
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
7897
* print connectUrl
0
15:15:27.405 [print] https://www.broinspireservices.nl/atom/services.atom
7898
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7899
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7900
* print organisationpath
0
15:15:27.405 [print] TNO Geologische Dienst Nederland
7901
* print operateson
0
15:15:27.405 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=11a292bd-9022-4a9f-b1bf-02f5c89ad74a&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
7902
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
7903
* eval db.writeln('"f5660ac6-8031-4acc-832c-1d1b82b062ba","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7904
* eval db.writeln('"f5660ac6-8031-4acc-832c-1d1b82b062ba","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.209:18]wt-3730-e750-485a-9c0c-39bf9bt72cf9
ms: 300
>>
Background:
7905
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
7906
* def mystorage = Java.type('storage.DataStorage')
1
7907
* def db = new mystorage
1
7908
* def db = db.setfeature(karate.info.featureFileName)
1
7909
* def separator = java.lang.System.getProperty("file.separator")
1
7910
* def outputpath = db.outputpath()
1
7911
* eval db.ensureDirectory(outputpath)
1
7912
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7913
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7914
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7915
Given path 'geonetwork/srv/dut/inspire'
0
7916
And param service = 'CSW'
0
7917
And param version = '2.0.2'
0
7918
And param request = 'GetRecordById'
0
7919
And param id = 'wt-3730-e750-485a-9c0c-39bf9bt72cf9'
1
7920
And param elementsetname = 'full'
0
7921
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7922
When method get
288
7923
Then status 200
0
7924
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-3730-e750-485a-9c0c-39bf9bt72cf9'
1
7925
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7926
* def title = get response //citation/CI_Citation/title/CharacterString
1
7927
* def email = get response //electronicMailAddress/CharacterString
1
7928
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7929
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7930
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7931
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7932
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7933
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7934
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
7935
* print connectUrl
0
15:15:27.453 [print] https://haleconnect.com/services/bsp/org.292.5458b0b7-4aef-467a-b646-e76d966bcfc1/service/atom/id_predefined_dataset
7936
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7937
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
7938
* print organisationpath
0
15:15:27.454 [print] Rijkswaterstaat
7939
* print operateson
0
15:15:27.454 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-3730-e750-485a-9c0c-39bf9be72cf9#MD_DataIdentification
7940
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
7941
* eval db.writeln('"wt-3730-e750-485a-9c0c-39bf9bt72cf9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7942
* eval db.writeln('"wt-3730-e750-485a-9c0c-39bf9bt72cf9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.210:18]e258f171-6f56-4d4d-8311-027b30213c2d
ms: 300
>>
Background:
7943
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
7944
* def mystorage = Java.type('storage.DataStorage')
1
7945
* def db = new mystorage
1
7946
* def db = db.setfeature(karate.info.featureFileName)
1
7947
* def separator = java.lang.System.getProperty("file.separator")
1
7948
* def outputpath = db.outputpath()
1
7949
* eval db.ensureDirectory(outputpath)
1
7950
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7951
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7952
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7953
Given path 'geonetwork/srv/dut/inspire'
0
7954
And param service = 'CSW'
0
7955
And param version = '2.0.2'
0
7956
And param request = 'GetRecordById'
0
7957
And param id = 'e258f171-6f56-4d4d-8311-027b30213c2d'
1
7958
And param elementsetname = 'full'
0
7959
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7960
When method get
289
7961
Then status 200
0
7962
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e258f171-6f56-4d4d-8311-027b30213c2d'
1
7963
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
7964
* def title = get response //citation/CI_Citation/title/CharacterString
0
7965
* def email = get response //electronicMailAddress/CharacterString
0
7966
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
7967
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
7968
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
7969
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
7970
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
7971
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
7972
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
7973
* print connectUrl
0
15:15:27.497 [print] https://service.pdok.nl/kadaster/cp/wms/v1_0?request=GetCapabilities&service=WMS
7974
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
7975
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
7976
* print organisationpath
0
15:15:27.498 [print] Beheer PDOK
7977
* print operateson
0
15:15:27.498 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e80ad426-1392-4349-9f80-14dae5f1bf57#MD_DataIdentification
7978
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
7979
* eval db.writeln('"e258f171-6f56-4d4d-8311-027b30213c2d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
7980
* eval db.writeln('"e258f171-6f56-4d4d-8311-027b30213c2d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.211:18]wt-f297898-2640-44c2-bbe9-c0480dt83794
ms: 292
>>
Background:
7981
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
7982
* def mystorage = Java.type('storage.DataStorage')
1
7983
* def db = new mystorage
1
7984
* def db = db.setfeature(karate.info.featureFileName)
1
7985
* def separator = java.lang.System.getProperty("file.separator")
1
7986
* def outputpath = db.outputpath()
1
7987
* eval db.ensureDirectory(outputpath)
1
7988
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
7989
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
7990
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
7991
Given path 'geonetwork/srv/dut/inspire'
0
7992
And param service = 'CSW'
0
7993
And param version = '2.0.2'
0
7994
And param request = 'GetRecordById'
0
7995
And param id = 'wt-f297898-2640-44c2-bbe9-c0480dt83794'
0
7996
And param elementsetname = 'full'
0
7997
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
7998
When method get
281
7999
Then status 200
0
8000
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-f297898-2640-44c2-bbe9-c0480dt83794'
1
8001
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8002
* def title = get response //citation/CI_Citation/title/CharacterString
0
8003
* def email = get response //electronicMailAddress/CharacterString
0
8004
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8005
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8006
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8007
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8008
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8009
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8010
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
8011
* print connectUrl
0
15:15:27.591 [print] https://haleconnect.com/services/bsp/org.292.c3955762-73a3-4c16-a15c-f3869487a1e3/service/atom/id_predefined_dataset
8012
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8013
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8014
* print organisationpath
0
15:15:27.592 [print] Rijkswaterstaat
8015
* print operateson
0
15:15:27.592 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=eu-f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification
8016
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8017
* eval db.writeln('"wt-f297898-2640-44c2-bbe9-c0480dt83794","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8018
* eval db.writeln('"wt-f297898-2640-44c2-bbe9-c0480dt83794","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.212:18]7e450110-f643-4b73-9262-4f13966cffc6
ms: 289
>>
Background:
8019
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
8020
* def mystorage = Java.type('storage.DataStorage')
1
8021
* def db = new mystorage
1
8022
* def db = db.setfeature(karate.info.featureFileName)
1
8023
* def separator = java.lang.System.getProperty("file.separator")
1
8024
* def outputpath = db.outputpath()
1
8025
* eval db.ensureDirectory(outputpath)
1
8026
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8027
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8028
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8029
Given path 'geonetwork/srv/dut/inspire'
1
8030
And param service = 'CSW'
0
8031
And param version = '2.0.2'
0
8032
And param request = 'GetRecordById'
0
8033
And param id = '7e450110-f643-4b73-9262-4f13966cffc6'
1
8034
And param elementsetname = 'full'
0
8035
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8036
When method get
278
8037
Then status 200
0
8038
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7e450110-f643-4b73-9262-4f13966cffc6'
1
8039
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8040
* def title = get response //citation/CI_Citation/title/CharacterString
0
8041
* def email = get response //electronicMailAddress/CharacterString
0
8042
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8043
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8044
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8045
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8046
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8047
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8048
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
8049
* print connectUrl
0
15:15:27.696 [print] https://geodata.nationaalgeoregister.nl/rws/kaderrichtlijnwater2009/wms/v1_0?service=WMS&request=GetCapabilities
8050
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8051
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8052
* print organisationpath
0
15:15:27.697 [print] Beheer PDOK
8053
* print operateson
0
15:15:27.697 [print] [
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=krw2006-c57b-44a2-83a4-e51223d5f15g#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=krw2006-68b5-4ff3-94a4-9c24109ffd5e#MD_DataIdentification"
]
8054
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
8055
* eval db.writeln('"7e450110-f643-4b73-9262-4f13966cffc6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8056
* eval db.writeln('"7e450110-f643-4b73-9262-4f13966cffc6","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.213:18]e69bb2e9-eff4-4fb3-86a6-057cf628e761
ms: 419
>>
Background:
8057
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
8058
* def mystorage = Java.type('storage.DataStorage')
1
8059
* def db = new mystorage
1
8060
* def db = db.setfeature(karate.info.featureFileName)
1
8061
* def separator = java.lang.System.getProperty("file.separator")
1
8062
* def outputpath = db.outputpath()
1
8063
* eval db.ensureDirectory(outputpath)
1
8064
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8065
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8066
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8067
Given path 'geonetwork/srv/dut/inspire'
0
8068
And param service = 'CSW'
0
8069
And param version = '2.0.2'
0
8070
And param request = 'GetRecordById'
0
8071
And param id = 'e69bb2e9-eff4-4fb3-86a6-057cf628e761'
0
8072
And param elementsetname = 'full'
0
8073
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8074
When method get
359
8075
Then status 200
0
8076
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e69bb2e9-eff4-4fb3-86a6-057cf628e761'
4
8077
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
5
8078
* def title = get response //citation/CI_Citation/title/CharacterString
5
8079
* def email = get response //electronicMailAddress/CharacterString
5
8080
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
5
8081
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
5
8082
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8083
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
3
8084
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
3
8085
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
3
8086
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
1
8087
* print connectUrl
0
15:15:27.859 [print] https://geodata.nationaalgeoregister.nl/vogelrichtlijnverspreidingsoorten/wms?request=GetCapabilities
8088
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
3
8089
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
6
8090
* print organisationpath
0
15:15:27.868 [print] Beheer PDOK
8091
* print operateson
0
15:15:27.868 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=fcefa13c-44e2-4953-b6d6-1ddceebc57fc#MD_DataIdentification
8092
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
6
8093
* eval db.writeln('"e69bb2e9-eff4-4fb3-86a6-057cf628e761","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8094
* eval db.writeln('"e69bb2e9-eff4-4fb3-86a6-057cf628e761","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.214:18]d415c10a-8dbf-4c01-8061-4689e5db38ac
ms: 279
>>
Background:
8095
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
8096
* def mystorage = Java.type('storage.DataStorage')
1
8097
* def db = new mystorage
1
8098
* def db = db.setfeature(karate.info.featureFileName)
1
8099
* def separator = java.lang.System.getProperty("file.separator")
1
8100
* def outputpath = db.outputpath()
1
8101
* eval db.ensureDirectory(outputpath)
1
8102
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8103
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8104
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8105
Given path 'geonetwork/srv/dut/inspire'
1
8106
And param service = 'CSW'
0
8107
And param version = '2.0.2'
0
8108
And param request = 'GetRecordById'
0
8109
And param id = 'd415c10a-8dbf-4c01-8061-4689e5db38ac'
0
8110
And param elementsetname = 'full'
0
8111
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8112
When method get
268
8113
Then status 200
0
8114
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd415c10a-8dbf-4c01-8061-4689e5db38ac'
1
8115
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8116
* def title = get response //citation/CI_Citation/title/CharacterString
1
8117
* def email = get response //electronicMailAddress/CharacterString
1
8118
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8119
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8120
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8121
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8122
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8123
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8124
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
8125
* print connectUrl
0
15:15:27.777 [print] https://geodata.nationaalgeoregister.nl/ecotopen/wms?request=GetCapabilities
8126
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8127
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8128
* print organisationpath
0
15:15:27.778 [print] Beheer PDOK
8129
* print operateson
0
15:15:27.778 [print] [
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=2220c0dd-3720-4e39-a130-171531c1e694#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=78d31ab4-4116-45b7-bcf5-e14960916b0f#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=b250f3a4-ed78-4c85-8cd5-f1af43841c6d#MD_DataIdentification"
]
8130
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
8131
* eval db.writeln('"d415c10a-8dbf-4c01-8061-4689e5db38ac","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8132
* eval db.writeln('"d415c10a-8dbf-4c01-8061-4689e5db38ac","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.215:18]wt-83730-e750-485a-9c0c-39bf9bm72cf8
ms: 291
>>
Background:
8133
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
8134
* def mystorage = Java.type('storage.DataStorage')
1
8135
* def db = new mystorage
1
8136
* def db = db.setfeature(karate.info.featureFileName)
1
8137
* def separator = java.lang.System.getProperty("file.separator")
1
8138
* def outputpath = db.outputpath()
1
8139
* eval db.ensureDirectory(outputpath)
1
8140
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8141
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8142
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8143
Given path 'geonetwork/srv/dut/inspire'
0
8144
And param service = 'CSW'
0
8145
And param version = '2.0.2'
0
8146
And param request = 'GetRecordById'
0
8147
And param id = 'wt-83730-e750-485a-9c0c-39bf9bm72cf8'
0
8148
And param elementsetname = 'full'
0
8149
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8150
When method get
281
8151
Then status 200
0
8152
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-83730-e750-485a-9c0c-39bf9bm72cf8'
1
8153
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8154
* def title = get response //citation/CI_Citation/title/CharacterString
0
8155
* def email = get response //electronicMailAddress/CharacterString
0
8156
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8157
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8158
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8159
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8160
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8161
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8162
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
8163
* print connectUrl
0
15:15:27.883 [print] https://haleconnect.com/ows/services/org.292.42527b86-52a7-4b94-9f83-8e8a9e900f5a_wms?service=WMS&version=1.3.0&request=GetCapabilities
8164
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8165
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8166
* print organisationpath
0
15:15:27.884 [print] Rijkswaterstaat
8167
* print operateson
0
15:15:27.884 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=wt-83730-e750-485a-9c0c-39bf9be72cf8#MD_DataIdentification
8168
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8169
* eval db.writeln('"wt-83730-e750-485a-9c0c-39bf9bm72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8170
* eval db.writeln('"wt-83730-e750-485a-9c0c-39bf9bm72cf8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.216:18]918388cf-9d8c-4264-b108-3e375bde0d52
ms: 269
>>
Background:
8171
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
8172
* def mystorage = Java.type('storage.DataStorage')
1
8173
* def db = new mystorage
1
8174
* def db = db.setfeature(karate.info.featureFileName)
1
8175
* def separator = java.lang.System.getProperty("file.separator")
1
8176
* def outputpath = db.outputpath()
1
8177
* eval db.ensureDirectory(outputpath)
1
8178
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8179
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8180
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8181
Given path 'geonetwork/srv/dut/inspire'
0
8182
And param service = 'CSW'
0
8183
And param version = '2.0.2'
0
8184
And param request = 'GetRecordById'
0
8185
And param id = '918388cf-9d8c-4264-b108-3e375bde0d52'
1
8186
And param elementsetname = 'full'
0
8187
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8188
When method get
258
8189
Then status 200
0
8190
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '918388cf-9d8c-4264-b108-3e375bde0d52'
1
8191
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8192
* def title = get response //citation/CI_Citation/title/CharacterString
1
8193
* def email = get response //electronicMailAddress/CharacterString
0
8194
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8195
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8196
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8197
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8198
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8199
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8200
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
8201
* print connectUrl
0
15:15:27.966 [print] https://geodata.nationaalgeoregister.nl/noordzeevaarwegmarkeringenrd/wms?request=GetCapabilities
8202
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8203
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8204
* print organisationpath
0
15:15:27.967 [print] Beheer PDOK
8205
* print operateson
0
15:15:27.967 [print] [
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=be1b1514-8d1f-48e1-9624-fee9b784138b#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=db60a314-5583-437d-a2ff-1e59cc57704e#MD_DataIdentification"
]
8206
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
8207
* eval db.writeln('"918388cf-9d8c-4264-b108-3e375bde0d52","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8208
* eval db.writeln('"918388cf-9d8c-4264-b108-3e375bde0d52","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.217:18]018a28a5-1019-4747-b031-f66ffc1c6ae7
ms: 290
>>
Background:
8209
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
8210
* def mystorage = Java.type('storage.DataStorage')
1
8211
* def db = new mystorage
1
8212
* def db = db.setfeature(karate.info.featureFileName)
1
8213
* def separator = java.lang.System.getProperty("file.separator")
1
8214
* def outputpath = db.outputpath()
1
8215
* eval db.ensureDirectory(outputpath)
1
8216
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8217
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8218
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8219
Given path 'geonetwork/srv/dut/inspire'
0
8220
And param service = 'CSW'
0
8221
And param version = '2.0.2'
0
8222
And param request = 'GetRecordById'
0
8223
And param id = '018a28a5-1019-4747-b031-f66ffc1c6ae7'
1
8224
And param elementsetname = 'full'
0
8225
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8226
When method get
272
8227
Then status 200
0
8228
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '018a28a5-1019-4747-b031-f66ffc1c6ae7'
1
8229
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8230
* def title = get response //citation/CI_Citation/title/CharacterString
1
8231
* def email = get response //electronicMailAddress/CharacterString
1
8232
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8233
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8234
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8235
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8236
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8237
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8238
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
8239
* print connectUrl
0
15:15:28.064 [print] https://geodata.nationaalgeoregister.nl/nl/rws/tn-ro/wfs?request=GetCapabilities
8240
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8241
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8242
* print organisationpath
0
15:15:28.065 [print] Beheer PDOK
8243
* print operateson
0
15:15:28.065 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-cb527d-f6db-4835-b0cd-deb245241254#MD_DataIdentification
8244
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
8245
* eval db.writeln('"018a28a5-1019-4747-b031-f66ffc1c6ae7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8246
* eval db.writeln('"018a28a5-1019-4747-b031-f66ffc1c6ae7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.218:18]6c62e0a5-c215-4e47-94b0-a239e264417d
ms: 308
>>
Background:
8247
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
8248
* def mystorage = Java.type('storage.DataStorage')
1
8249
* def db = new mystorage
1
8250
* def db = db.setfeature(karate.info.featureFileName)
1
8251
* def separator = java.lang.System.getProperty("file.separator")
1
8252
* def outputpath = db.outputpath()
1
8253
* eval db.ensureDirectory(outputpath)
1
8254
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8255
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8256
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8257
Given path 'geonetwork/srv/dut/inspire'
0
8258
And param service = 'CSW'
0
8259
And param version = '2.0.2'
0
8260
And param request = 'GetRecordById'
0
8261
And param id = '6c62e0a5-c215-4e47-94b0-a239e264417d'
1
8262
And param elementsetname = 'full'
0
8263
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8264
When method get
285
8265
Then status 200
0
8266
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6c62e0a5-c215-4e47-94b0-a239e264417d'
2
8267
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
8268
* def title = get response //citation/CI_Citation/title/CharacterString
2
8269
* def email = get response //electronicMailAddress/CharacterString
2
8270
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
2
8271
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
8272
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8273
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
8274
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
8275
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
8276
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
8277
* print connectUrl
0
15:15:28.177 [print] https://geodata.nationaalgeoregister.nl/plu/wms?request=GetCapabilities
8278
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
8279
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
8280
* print organisationpath
0
15:15:28.180 [print] Beheer PDOK
8281
* print operateson
0
15:15:28.180 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=17716ed7-ce0d-4bfd-8868-a398e5578a36#MD_DataIdentification
8282
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
2
8283
* eval db.writeln('"6c62e0a5-c215-4e47-94b0-a239e264417d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8284
* eval db.writeln('"6c62e0a5-c215-4e47-94b0-a239e264417d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.219:18]00e8746f-5031-413e-8343-9203c8ea82ee
ms: 347
>>
Background:
8285
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
8286
* def mystorage = Java.type('storage.DataStorage')
1
8287
* def db = new mystorage
1
8288
* def db = db.setfeature(karate.info.featureFileName)
1
8289
* def separator = java.lang.System.getProperty("file.separator")
1
8290
* def outputpath = db.outputpath()
1
8291
* eval db.ensureDirectory(outputpath)
1
8292
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8293
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8294
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8295
Given path 'geonetwork/srv/dut/inspire'
2
8296
And param service = 'CSW'
0
8297
And param version = '2.0.2'
0
8298
And param request = 'GetRecordById'
0
8299
And param id = '00e8746f-5031-413e-8343-9203c8ea82ee'
0
8300
And param elementsetname = 'full'
0
8301
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8302
When method get
324
8303
Then status 200
0
8304
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '00e8746f-5031-413e-8343-9203c8ea82ee'
1
8305
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8306
* def title = get response //citation/CI_Citation/title/CharacterString
0
8307
* def email = get response //electronicMailAddress/CharacterString
0
8308
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8309
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8310
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8311
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8312
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8313
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8314
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
8315
* print connectUrl
0
15:15:28.219 [print] http://services.inspire-provincies.nl/NaturalRiskZones/services/download_NZ?request=GetCapabilities
8316
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8317
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8318
* print organisationpath
0
15:15:28.219 [print] Interprovinciaal Overleg
8319
* print operateson
0
15:15:28.220 [print] [
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=88f76a94-ee4d-4e0c-9fde-91b692403e39&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification",
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=08af1182-91fe-4d21-aa21-ee002953c3cc&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification",
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=d91126e0-e37b-11e4-b571-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification",
"http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=667ebfb0-e37c-11e4-b571-0800200c9a66&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full#MD_DataIdentification"
]
8320
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
11
8321
* eval db.writeln('"00e8746f-5031-413e-8343-9203c8ea82ee","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8322
* eval db.writeln('"00e8746f-5031-413e-8343-9203c8ea82ee","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.220:18]03c39474-aef9-4169-95da-9890af440b14
ms: 359
>>
Background:
8323
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
8324
* def mystorage = Java.type('storage.DataStorage')
1
8325
* def db = new mystorage
1
8326
* def db = db.setfeature(karate.info.featureFileName)
1
8327
* def separator = java.lang.System.getProperty("file.separator")
1
8328
* def outputpath = db.outputpath()
1
8329
* eval db.ensureDirectory(outputpath)
1
8330
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8331
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8332
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8333
Given path 'geonetwork/srv/dut/inspire'
1
8334
And param service = 'CSW'
0
8335
And param version = '2.0.2'
0
8336
And param request = 'GetRecordById'
0
8337
And param id = '03c39474-aef9-4169-95da-9890af440b14'
0
8338
And param elementsetname = 'full'
0
8339
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8340
When method get
330
8341
Then status 200
0
8342
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '03c39474-aef9-4169-95da-9890af440b14'
1
8343
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8344
* def title = get response //citation/CI_Citation/title/CharacterString
0
8345
* def email = get response //electronicMailAddress/CharacterString
0
8346
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8347
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8348
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8349
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
2
8350
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8351
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8352
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
8353
* print connectUrl
0
15:15:28.309 [print] https://inspire.rivm.nl/geoserver/wfs?request=GetCapabilities
8354
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
8
8355
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
8356
* print organisationpath
0
15:15:28.320 [print] Rijksinstituut voor Volksgezondheid en Milieu
8357
* print operateson
0
15:15:28.320 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=08b27bf0-e34a-4b30-9eac-5edadfb6a288#MD_DataIdentification
8358
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
2
8359
* eval db.writeln('"03c39474-aef9-4169-95da-9890af440b14","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
4
8360
* eval db.writeln('"03c39474-aef9-4169-95da-9890af440b14","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.221:18]2dd6c9df-bb47-40eb-af39-2d17f09b9bb9
ms: 321
>>
Background:
8361
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
8362
* def mystorage = Java.type('storage.DataStorage')
1
8363
* def db = new mystorage
1
8364
* def db = db.setfeature(karate.info.featureFileName)
1
8365
* def separator = java.lang.System.getProperty("file.separator")
1
8366
* def outputpath = db.outputpath()
1
8367
* eval db.ensureDirectory(outputpath)
1
8368
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8369
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8370
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8371
Given path 'geonetwork/srv/dut/inspire'
0
8372
And param service = 'CSW'
0
8373
And param version = '2.0.2'
0
8374
And param request = 'GetRecordById'
0
8375
And param id = '2dd6c9df-bb47-40eb-af39-2d17f09b9bb9'
1
8376
And param elementsetname = 'full'
0
8377
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8378
When method get
311
8379
Then status 200
0
8380
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '2dd6c9df-bb47-40eb-af39-2d17f09b9bb9'
1
8381
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8382
* def title = get response //citation/CI_Citation/title/CharacterString
1
8383
* def email = get response //electronicMailAddress/CharacterString
0
8384
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
8385
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8386
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8387
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8388
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8389
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8390
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
8391
* print connectUrl
0
15:15:28.389 [print] https://www.broinspireservices.nl/wms/osgegsm-a-v1.0?request=GetCapabilities
8392
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8393
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8394
* print organisationpath
0
15:15:28.390 [print] TNO Geologische Dienst Nederland
8395
* print operateson
0
15:15:28.390 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=80630ee7-3a15-4ea0-bdc0-a8aebfa2f204&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
8396
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8397
* eval db.writeln('"2dd6c9df-bb47-40eb-af39-2d17f09b9bb9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8398
* eval db.writeln('"2dd6c9df-bb47-40eb-af39-2d17f09b9bb9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.222:18]6de8b875-c4c2-4469-ac80-0782bb67f285
ms: 286
>>
Background:
8399
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
8400
* def mystorage = Java.type('storage.DataStorage')
1
8401
* def db = new mystorage
1
8402
* def db = db.setfeature(karate.info.featureFileName)
1
8403
* def separator = java.lang.System.getProperty("file.separator")
1
8404
* def outputpath = db.outputpath()
1
8405
* eval db.ensureDirectory(outputpath)
1
8406
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8407
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8408
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8409
Given path 'geonetwork/srv/dut/inspire'
1
8410
And param service = 'CSW'
0
8411
And param version = '2.0.2'
0
8412
And param request = 'GetRecordById'
0
8413
And param id = '6de8b875-c4c2-4469-ac80-0782bb67f285'
1
8414
And param elementsetname = 'full'
0
8415
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8416
When method get
274
8417
Then status 200
0
8418
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6de8b875-c4c2-4469-ac80-0782bb67f285'
1
8419
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8420
* def title = get response //citation/CI_Citation/title/CharacterString
1
8421
* def email = get response //electronicMailAddress/CharacterString
1
8422
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8423
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8424
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8425
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8426
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8427
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8428
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
8429
* print connectUrl
0
15:15:28.468 [print] https://geodata.nationaalgeoregister.nl/inspire/au/wms?request=GetCapabilities&service=WMS
8430
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8431
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8432
* print organisationpath
0
15:15:28.469 [print] Beheer PDOK
8433
* print operateson
0
15:15:28.469 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=7dd1fd45-ace5-41e0-93a6-64e3be231717#MD_DataIdentification
8434
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8435
* eval db.writeln('"6de8b875-c4c2-4469-ac80-0782bb67f285","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8436
* eval db.writeln('"6de8b875-c4c2-4469-ac80-0782bb67f285","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.223:18]30f65c89-2246-49f8-8b50-0f1140d6f2aa
ms: 300
>>
Background:
8437
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
8438
* def mystorage = Java.type('storage.DataStorage')
1
8439
* def db = new mystorage
1
8440
* def db = db.setfeature(karate.info.featureFileName)
1
8441
* def separator = java.lang.System.getProperty("file.separator")
1
8442
* def outputpath = db.outputpath()
1
8443
* eval db.ensureDirectory(outputpath)
1
8444
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8445
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8446
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8447
Given path 'geonetwork/srv/dut/inspire'
0
8448
And param service = 'CSW'
0
8449
And param version = '2.0.2'
0
8450
And param request = 'GetRecordById'
0
8451
And param id = '30f65c89-2246-49f8-8b50-0f1140d6f2aa'
0
8452
And param elementsetname = 'full'
0
8453
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8454
When method get
287
8455
Then status 200
0
8456
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '30f65c89-2246-49f8-8b50-0f1140d6f2aa'
1
8457
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8458
* def title = get response //citation/CI_Citation/title/CharacterString
1
8459
* def email = get response //electronicMailAddress/CharacterString
1
8460
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8461
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8462
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8463
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8464
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8465
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8466
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
8467
* print connectUrl
0
15:15:28.530 [print] https://geodata.nationaalgeoregister.nl/inspire/hy-p/wms?request=GetCapabilities
8468
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8469
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8470
* print organisationpath
0
15:15:28.531 [print] Beheer PDOK
8471
* print operateson
0
15:15:28.531 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification
8472
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
8473
* eval db.writeln('"30f65c89-2246-49f8-8b50-0f1140d6f2aa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8474
* eval db.writeln('"30f65c89-2246-49f8-8b50-0f1140d6f2aa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.224:18]fa3ecd49-4571-4eb3-84f3-2865f42934b2
ms: 305
>>
Background:
8475
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
8476
* def mystorage = Java.type('storage.DataStorage')
1
8477
* def db = new mystorage
1
8478
* def db = db.setfeature(karate.info.featureFileName)
1
8479
* def separator = java.lang.System.getProperty("file.separator")
1
8480
* def outputpath = db.outputpath()
1
8481
* eval db.ensureDirectory(outputpath)
1
8482
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8483
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8484
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8485
Given path 'geonetwork/srv/dut/inspire'
8
8486
And param service = 'CSW'
0
8487
And param version = '2.0.2'
0
8488
And param request = 'GetRecordById'
0
8489
And param id = 'fa3ecd49-4571-4eb3-84f3-2865f42934b2'
3
8490
And param elementsetname = 'full'
0
8491
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8492
When method get
283
8493
Then status 200
0
8494
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'fa3ecd49-4571-4eb3-84f3-2865f42934b2'
1
8495
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8496
* def title = get response //citation/CI_Citation/title/CharacterString
1
8497
* def email = get response //electronicMailAddress/CharacterString
1
8498
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8499
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8500
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8501
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8502
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8503
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8504
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
8505
* print connectUrl
1
15:15:28.631 [print] https://www.broinspireservices.nl/wfs/oserhca-a-v1.0?request=GetCapabilities&service=WFS&version=2.0.0
8506
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8507
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8508
* print organisationpath
0
15:15:28.633 [print] TNO Geologische Dienst Nederland
8509
* print operateson
0
15:15:28.633 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=b61a773c-ecad-4e60-93e9-0a4caac0b52f&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
8510
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8511
* eval db.writeln('"fa3ecd49-4571-4eb3-84f3-2865f42934b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8512
* eval db.writeln('"fa3ecd49-4571-4eb3-84f3-2865f42934b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.225:18]82fa284e-8218-40e4-a593-c2f8a832c3d5
ms: 280
>>
Background:
8513
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
8514
* def mystorage = Java.type('storage.DataStorage')
1
8515
* def db = new mystorage
1
8516
* def db = db.setfeature(karate.info.featureFileName)
1
8517
* def separator = java.lang.System.getProperty("file.separator")
1
8518
* def outputpath = db.outputpath()
1
8519
* eval db.ensureDirectory(outputpath)
1
8520
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8521
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8522
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8523
Given path 'geonetwork/srv/dut/inspire'
0
8524
And param service = 'CSW'
0
8525
And param version = '2.0.2'
0
8526
And param request = 'GetRecordById'
0
8527
And param id = '82fa284e-8218-40e4-a593-c2f8a832c3d5'
0
8528
And param elementsetname = 'full'
0
8529
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8530
When method get
270
8531
Then status 200
0
8532
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '82fa284e-8218-40e4-a593-c2f8a832c3d5'
1
8533
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8534
* def title = get response //citation/CI_Citation/title/CharacterString
1
8535
* def email = get response //electronicMailAddress/CharacterString
0
8536
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8537
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8538
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8539
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8540
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8541
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8542
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
8543
* print connectUrl
0
15:15:28.670 [print] https://www.broinspireservices.nl/wms/oserhca-a-v1.0?request=GetCapabilities
8544
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8545
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8546
* print organisationpath
0
15:15:28.671 [print] TNO Geologische Dienst Nederland
8547
* print operateson
0
15:15:28.671 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=b61a773c-ecad-4e60-93e9-0a4caac0b52f&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
8548
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8549
* eval db.writeln('"82fa284e-8218-40e4-a593-c2f8a832c3d5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8550
* eval db.writeln('"82fa284e-8218-40e4-a593-c2f8a832c3d5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.226:18]609d0c9e-173f-4f90-b020-c91ab3a0b6ef
ms: 266
>>
Background:
8551
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
8552
* def mystorage = Java.type('storage.DataStorage')
1
8553
* def db = new mystorage
1
8554
* def db = db.setfeature(karate.info.featureFileName)
1
8555
* def separator = java.lang.System.getProperty("file.separator")
1
8556
* def outputpath = db.outputpath()
1
8557
* eval db.ensureDirectory(outputpath)
1
8558
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8559
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8560
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8561
Given path 'geonetwork/srv/dut/inspire'
0
8562
And param service = 'CSW'
0
8563
And param version = '2.0.2'
0
8564
And param request = 'GetRecordById'
0
8565
And param id = '609d0c9e-173f-4f90-b020-c91ab3a0b6ef'
0
8566
And param elementsetname = 'full'
0
8567
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8568
When method get
255
8569
Then status 200
0
8570
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '609d0c9e-173f-4f90-b020-c91ab3a0b6ef'
1
8571
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8572
* def title = get response //citation/CI_Citation/title/CharacterString
0
8573
* def email = get response //electronicMailAddress/CharacterString
0
8574
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8575
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8576
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8577
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8578
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8579
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8580
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
8581
* print connectUrl
0
15:15:28.735 [print] https://geodata.nationaalgeoregister.nl/rdinfo/wms?request=GetCapabilities
8582
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8583
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8584
* print organisationpath
0
15:15:28.736 [print] Beheer PDOK
8585
* print operateson
0
15:15:28.736 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=29c17585-e702-463f-a5dc-99d34b17d333#MD_DataIdentification
8586
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8587
* eval db.writeln('"609d0c9e-173f-4f90-b020-c91ab3a0b6ef","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8588
* eval db.writeln('"609d0c9e-173f-4f90-b020-c91ab3a0b6ef","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.227:18]91041d33-54f8-40f1-8965-a867ba00cab8
ms: 288
>>
Background:
8589
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
8590
* def mystorage = Java.type('storage.DataStorage')
1
8591
* def db = new mystorage
1
8592
* def db = db.setfeature(karate.info.featureFileName)
1
8593
* def separator = java.lang.System.getProperty("file.separator")
1
8594
* def outputpath = db.outputpath()
1
8595
* eval db.ensureDirectory(outputpath)
1
8596
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8597
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8598
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8599
Given path 'geonetwork/srv/dut/inspire'
0
8600
And param service = 'CSW'
0
8601
And param version = '2.0.2'
0
8602
And param request = 'GetRecordById'
0
8603
And param id = '91041d33-54f8-40f1-8965-a867ba00cab8'
1
8604
And param elementsetname = 'full'
0
8605
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8606
When method get
274
8607
Then status 200
0
8608
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '91041d33-54f8-40f1-8965-a867ba00cab8'
1
8609
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8610
* def title = get response //citation/CI_Citation/title/CharacterString
0
8611
* def email = get response //electronicMailAddress/CharacterString
0
8612
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
8613
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8614
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8615
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8616
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8617
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8618
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
8619
* print connectUrl
0
15:15:28.814 [print] https://inspire.caris.nl/geoserver2/gn/wfs?request=GetCapabilities&service=WFS
8620
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8621
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8622
* print organisationpath
0
15:15:28.815 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
8623
* print operateson
0
15:15:28.815 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/xml.metadata.get?uuid=34e95842-4e4e-46de-9198-79e8cd4d30dc#MD_DataIdentification
8624
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8625
* eval db.writeln('"91041d33-54f8-40f1-8965-a867ba00cab8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8626
* eval db.writeln('"91041d33-54f8-40f1-8965-a867ba00cab8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
6
Scenario Outline: [1.228:18]0e2580b7-2a15-41a2-b1b6-361265e4f5f4
ms: 306
>>
Background:
8627
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
8628
* def mystorage = Java.type('storage.DataStorage')
1
8629
* def db = new mystorage
1
8630
* def db = db.setfeature(karate.info.featureFileName)
1
8631
* def separator = java.lang.System.getProperty("file.separator")
1
8632
* def outputpath = db.outputpath()
1
8633
* eval db.ensureDirectory(outputpath)
1
8634
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8635
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8636
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8637
Given path 'geonetwork/srv/dut/inspire'
0
8638
And param service = 'CSW'
0
8639
And param version = '2.0.2'
0
8640
And param request = 'GetRecordById'
0
8641
And param id = '0e2580b7-2a15-41a2-b1b6-361265e4f5f4'
0
8642
And param elementsetname = 'full'
0
8643
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8644
When method get
294
8645
Then status 200
0
8646
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '0e2580b7-2a15-41a2-b1b6-361265e4f5f4'
1
8647
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8648
* def title = get response //citation/CI_Citation/title/CharacterString
1
8649
* def email = get response //electronicMailAddress/CharacterString
1
8650
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8651
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8652
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8653
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8654
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8655
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8656
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
8657
* print connectUrl
0
15:15:28.938 [print] https://geodata.nationaalgeoregister.nl/inspire/bu/wfs?request=GetCapabilities&service=WFS
8658
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8659
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8660
* print organisationpath
0
15:15:28.939 [print] Beheer PDOK
8661
* print operateson
0
15:15:28.939 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=b4ae622c-6201-49d8-bd2e-f7fce9206a1e#MD_DataIdentification
8662
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
8663
* eval db.writeln('"0e2580b7-2a15-41a2-b1b6-361265e4f5f4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8664
* eval db.writeln('"0e2580b7-2a15-41a2-b1b6-361265e4f5f4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.229:18]1b9259fc-dc35-11e3-961c-901b0e19e163
ms: 341
>>
Background:
8665
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
8666
* def mystorage = Java.type('storage.DataStorage')
1
8667
* def db = new mystorage
1
8668
* def db = db.setfeature(karate.info.featureFileName)
1
8669
* def separator = java.lang.System.getProperty("file.separator")
1
8670
* def outputpath = db.outputpath()
1
8671
* eval db.ensureDirectory(outputpath)
1
8672
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8673
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8674
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8675
Given path 'geonetwork/srv/dut/inspire'
0
8676
And param service = 'CSW'
0
8677
And param version = '2.0.2'
0
8678
And param request = 'GetRecordById'
0
8679
And param id = '1b9259fc-dc35-11e3-961c-901b0e19e163'
1
8680
And param elementsetname = 'full'
0
8681
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8682
When method get
326
8683
Then status 200
0
8684
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1b9259fc-dc35-11e3-961c-901b0e19e163'
1
8685
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8686
* def title = get response //citation/CI_Citation/title/CharacterString
1
8687
* def email = get response //electronicMailAddress/CharacterString
1
8688
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8689
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8690
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8691
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
8692
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
8693
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
8694
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
8695
* print connectUrl
0
15:15:29.010 [print] http://geoservices.knmi.nl/cgi-bin/inspire/Actuele10mindataKNMIstations.cgi?service=wms&
8696
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
8697
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8698
* print organisationpath
0
15:15:29.011 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI)
8699
* print operateson
0
15:15:29.011 [print] http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=64c987ec-dce6-11e3-8563-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full
8700
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
8701
* eval db.writeln('"1b9259fc-dc35-11e3-961c-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8702
* eval db.writeln('"1b9259fc-dc35-11e3-961c-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.230:18]3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd
ms: 288
>>
Background:
8703
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
8704
* def mystorage = Java.type('storage.DataStorage')
1
8705
* def db = new mystorage
1
8706
* def db = db.setfeature(karate.info.featureFileName)
1
8707
* def separator = java.lang.System.getProperty("file.separator")
1
8708
* def outputpath = db.outputpath()
1
8709
* eval db.ensureDirectory(outputpath)
1
8710
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8711
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8712
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8713
Given path 'geonetwork/srv/dut/inspire'
0
8714
And param service = 'CSW'
0
8715
And param version = '2.0.2'
0
8716
And param request = 'GetRecordById'
0
8717
And param id = '3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd'
0
8718
And param elementsetname = 'full'
0
8719
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8720
When method get
278
8721
Then status 200
0
8722
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd'
1
8723
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8724
* def title = get response //citation/CI_Citation/title/CharacterString
0
8725
* def email = get response //electronicMailAddress/CharacterString
0
8726
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8727
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8728
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8729
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8730
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8731
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8732
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
8733
* print connectUrl
0
15:15:29.024 [print] https://geodata.nationaalgeoregister.nl/rdinfo/wfs?request=GetCapabilities&service=WFS
8734
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8735
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8736
* print organisationpath
0
15:15:29.025 [print] Beheer PDOK
8737
* print operateson
0
15:15:29.025 [print] https://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=29c17585-e702-463f-a5dc-99d34b17d333#MD_DataIdentification
8738
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8739
* eval db.writeln('"3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8740
* eval db.writeln('"3ebe56dc-5f09-4fb3-b224-55c2db4ca2fd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.231:18]77971fa3-f869-4726-969a-482e0b1a8c5d
ms: 279
>>
Background:
8741
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
8742
* def mystorage = Java.type('storage.DataStorage')
1
8743
* def db = new mystorage
1
8744
* def db = db.setfeature(karate.info.featureFileName)
1
8745
* def separator = java.lang.System.getProperty("file.separator")
1
8746
* def outputpath = db.outputpath()
1
8747
* eval db.ensureDirectory(outputpath)
1
8748
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8749
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8750
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8751
Given path 'geonetwork/srv/dut/inspire'
0
8752
And param service = 'CSW'
0
8753
And param version = '2.0.2'
3
8754
And param request = 'GetRecordById'
0
8755
And param id = '77971fa3-f869-4726-969a-482e0b1a8c5d'
1
8756
And param elementsetname = 'full'
0
8757
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8758
When method get
266
8759
Then status 200
0
8760
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '77971fa3-f869-4726-969a-482e0b1a8c5d'
1
8761
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8762
* def title = get response //citation/CI_Citation/title/CharacterString
0
8763
* def email = get response //electronicMailAddress/CharacterString
0
8764
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
8765
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8766
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8767
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8768
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8769
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8770
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
8771
* print connectUrl
0
15:15:29.098 [print] https://www.broinspireservices.nl/wfs/osgegsm-a-v1.0?request=GetCapabilities&service=WFS&version=2.0.0
8772
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8773
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8774
* print organisationpath
0
15:15:29.099 [print] TNO Geologische Dienst Nederland
8775
* print operateson
0
15:15:29.099 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=80630ee7-3a15-4ea0-bdc0-a8aebfa2f204&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
8776
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8777
* eval db.writeln('"77971fa3-f869-4726-969a-482e0b1a8c5d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8778
* eval db.writeln('"77971fa3-f869-4726-969a-482e0b1a8c5d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.232:18]68d14b1c-71ad-4ce7-8267-45787a80c2d4
ms: 288
>>
Background:
8779
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
8780
* def mystorage = Java.type('storage.DataStorage')
1
8781
* def db = new mystorage
1
8782
* def db = db.setfeature(karate.info.featureFileName)
1
8783
* def separator = java.lang.System.getProperty("file.separator")
1
8784
* def outputpath = db.outputpath()
1
8785
* eval db.ensureDirectory(outputpath)
1
8786
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8787
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8788
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8789
Given path 'geonetwork/srv/dut/inspire'
0
8790
And param service = 'CSW'
0
8791
And param version = '2.0.2'
0
8792
And param request = 'GetRecordById'
0
8793
And param id = '68d14b1c-71ad-4ce7-8267-45787a80c2d4'
1
8794
And param elementsetname = 'full'
0
8795
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8796
When method get
274
8797
Then status 200
0
8798
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68d14b1c-71ad-4ce7-8267-45787a80c2d4'
1
8799
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8800
* def title = get response //citation/CI_Citation/title/CharacterString
1
8801
* def email = get response //electronicMailAddress/CharacterString
1
8802
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8803
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8804
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8805
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
8806
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
8807
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8808
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
8809
* print connectUrl
0
15:15:29.226 [print] https://geodata.nationaalgeoregister.nl/inspire/ad/wfs?request=GetCapabilities&service=WFS
8810
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8811
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8812
* print organisationpath
0
15:15:29.227 [print] Beheer PDOK
8813
* print operateson
0
15:15:29.227 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a5f961e9-ebdd-41e2-b8e8-ab33ed340a83#MD_DataIdentification
8814
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
8815
* eval db.writeln('"68d14b1c-71ad-4ce7-8267-45787a80c2d4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8816
* eval db.writeln('"68d14b1c-71ad-4ce7-8267-45787a80c2d4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.233:18]68505be5-45c4-4889-a82a-125043bbdc44
ms: 346
>>
Background:
8817
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
8818
* def mystorage = Java.type('storage.DataStorage')
1
8819
* def db = new mystorage
1
8820
* def db = db.setfeature(karate.info.featureFileName)
1
8821
* def separator = java.lang.System.getProperty("file.separator")
1
8822
* def outputpath = db.outputpath()
1
8823
* eval db.ensureDirectory(outputpath)
1
8824
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8825
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8826
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8827
Given path 'geonetwork/srv/dut/inspire'
1
8828
And param service = 'CSW'
0
8829
And param version = '2.0.2'
0
8830
And param request = 'GetRecordById'
0
8831
And param id = '68505be5-45c4-4889-a82a-125043bbdc44'
14
8832
And param elementsetname = 'full'
0
8833
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8834
When method get
325
8835
Then status 200
0
8836
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68505be5-45c4-4889-a82a-125043bbdc44'
0
8837
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
8838
* def title = get response //citation/CI_Citation/title/CharacterString
0
8839
* def email = get response //electronicMailAddress/CharacterString
0
8840
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
8841
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8842
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8843
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8844
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8845
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8846
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
8847
* print connectUrl
0
15:15:29.359 [print] https://www.broinspireservices.nl/wfs/osgebor-a-v1.0?request=GetCapabilities&service=WFS&version=2.0.0
8848
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8849
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8850
* print organisationpath
0
15:15:29.360 [print] TNO Geologische Dienst Nederland
8851
* print operateson
0
15:15:29.360 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=6c1cf452-8c62-4046-99ab-640a5e184f9c&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
8852
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8853
* eval db.writeln('"68505be5-45c4-4889-a82a-125043bbdc44","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8854
* eval db.writeln('"68505be5-45c4-4889-a82a-125043bbdc44","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.234:18]18bcfb8c-b73d-4e9c-8348-7ee6cd49ec79
ms: 305
>>
Background:
8855
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
8856
* def mystorage = Java.type('storage.DataStorage')
1
8857
* def db = new mystorage
1
8858
* def db = db.setfeature(karate.info.featureFileName)
1
8859
* def separator = java.lang.System.getProperty("file.separator")
1
8860
* def outputpath = db.outputpath()
1
8861
* eval db.ensureDirectory(outputpath)
1
8862
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8863
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8864
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8865
Given path 'geonetwork/srv/dut/inspire'
0
8866
And param service = 'CSW'
0
8867
And param version = '2.0.2'
0
8868
And param request = 'GetRecordById'
0
8869
And param id = '18bcfb8c-b73d-4e9c-8348-7ee6cd49ec79'
0
8870
And param elementsetname = 'full'
0
8871
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8872
When method get
289
8873
Then status 200
0
8874
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '18bcfb8c-b73d-4e9c-8348-7ee6cd49ec79'
1
8875
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8876
* def title = get response //citation/CI_Citation/title/CharacterString
2
8877
* def email = get response //electronicMailAddress/CharacterString
1
8878
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8879
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8880
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8881
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
8882
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
8883
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
8884
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
8885
* print connectUrl
0
15:15:29.329 [print] https://geodata.nationaalgeoregister.nl/inspire/tn-ro/wfs?request=GetCapabilities&service=WFS
8886
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
8887
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8888
* print organisationpath
0
15:15:29.330 [print] Beheer PDOK
8889
* print operateson
0
15:15:29.330 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=8f45b8ef-0ce8-463a-9059-5efdcecb785c#MD_DataIdentification
8890
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
8891
* eval db.writeln('"18bcfb8c-b73d-4e9c-8348-7ee6cd49ec79","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8892
* eval db.writeln('"18bcfb8c-b73d-4e9c-8348-7ee6cd49ec79","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.235:18]35359958-c40a-486f-9cf5-567a94de905e
ms: 349
>>
Background:
8893
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
8894
* def mystorage = Java.type('storage.DataStorage')
1
8895
* def db = new mystorage
1
8896
* def db = db.setfeature(karate.info.featureFileName)
1
8897
* def separator = java.lang.System.getProperty("file.separator")
1
8898
* def outputpath = db.outputpath()
1
8899
* eval db.ensureDirectory(outputpath)
1
8900
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8901
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8902
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8903
Given path 'geonetwork/srv/dut/inspire'
0
8904
And param service = 'CSW'
0
8905
And param version = '2.0.2'
0
8906
And param request = 'GetRecordById'
0
8907
And param id = '35359958-c40a-486f-9cf5-567a94de905e'
0
8908
And param elementsetname = 'full'
0
8909
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8910
When method get
281
8911
Then status 200
0
8912
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '35359958-c40a-486f-9cf5-567a94de905e'
1
8913
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8914
* def title = get response //citation/CI_Citation/title/CharacterString
58
8915
* def email = get response //electronicMailAddress/CharacterString
1
8916
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8917
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8918
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8919
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8920
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8921
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8922
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
8923
* print connectUrl
0
15:15:29.447 [print] https://geodata.nationaalgeoregister.nl/bestuurlijkegrenzen/wfs?request=GetCapabilities
8924
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8925
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
8926
* print organisationpath
0
15:15:29.448 [print] Beheer PDOK
8927
* print operateson
0
15:15:29.448 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c5c4a6d6-b850-473c-8ab5-af9c2c550809#MD_DataIdentification
8928
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
8929
* eval db.writeln('"35359958-c40a-486f-9cf5-567a94de905e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
8930
* eval db.writeln('"35359958-c40a-486f-9cf5-567a94de905e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.236:18]e222648d-d19e-4a99-a67d-2af1c9aabd75
ms: 285
>>
Background:
8931
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
8932
* def mystorage = Java.type('storage.DataStorage')
1
8933
* def db = new mystorage
1
8934
* def db = db.setfeature(karate.info.featureFileName)
1
8935
* def separator = java.lang.System.getProperty("file.separator")
1
8936
* def outputpath = db.outputpath()
1
8937
* eval db.ensureDirectory(outputpath)
1
8938
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8939
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8940
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8941
Given path 'geonetwork/srv/dut/inspire'
0
8942
And param service = 'CSW'
0
8943
And param version = '2.0.2'
0
8944
And param request = 'GetRecordById'
0
8945
And param id = 'e222648d-d19e-4a99-a67d-2af1c9aabd75'
0
8946
And param elementsetname = 'full'
0
8947
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8948
When method get
275
8949
Then status 200
0
8950
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e222648d-d19e-4a99-a67d-2af1c9aabd75'
1
8951
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8952
* def title = get response //citation/CI_Citation/title/CharacterString
1
8953
* def email = get response //electronicMailAddress/CharacterString
0
8954
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
8955
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
8956
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8957
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8958
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
8959
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
8960
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
8961
* print connectUrl
0
15:15:29.512 [print] https://service.pdok.nl/kadaster/cp/atom/v1_0/index.xml
8962
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
8963
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
8964
* print organisationpath
0
15:15:29.513 [print] Beheer PDOK
8965
* print operateson
0
15:15:29.513 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e80ad426-1392-4349-9f80-14dae5f1bf57#MD_DataIdentification
8966
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
8967
* eval db.writeln('"e222648d-d19e-4a99-a67d-2af1c9aabd75","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
8968
* eval db.writeln('"e222648d-d19e-4a99-a67d-2af1c9aabd75","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.237:18]18e052b6-dce6-11e3-9e6e-901b0e19e163
ms: 299
>>
Background:
8969
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
8970
* def mystorage = Java.type('storage.DataStorage')
1
8971
* def db = new mystorage
1
8972
* def db = db.setfeature(karate.info.featureFileName)
1
8973
* def separator = java.lang.System.getProperty("file.separator")
1
8974
* def outputpath = db.outputpath()
1
8975
* eval db.ensureDirectory(outputpath)
1
8976
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
8977
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
8978
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
8979
Given path 'geonetwork/srv/dut/inspire'
0
8980
And param service = 'CSW'
0
8981
And param version = '2.0.2'
0
8982
And param request = 'GetRecordById'
0
8983
And param id = '18e052b6-dce6-11e3-9e6e-901b0e19e163'
1
8984
And param elementsetname = 'full'
0
8985
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
8986
When method get
287
8987
Then status 200
0
8988
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '18e052b6-dce6-11e3-9e6e-901b0e19e163'
1
8989
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
8990
* def title = get response //citation/CI_Citation/title/CharacterString
1
8991
* def email = get response //electronicMailAddress/CharacterString
1
8992
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
8993
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
8994
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
8995
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
8996
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
8997
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
8998
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
8999
* print connectUrl
0
15:15:29.629 [print] http://data.knmi.nl/inspire/atom?
9000
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
9001
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9002
* print organisationpath
0
15:15:29.630 [print] Koninklijk Nederlands Meteorologisch Instituut (KNMI)
9003
* print operateson
0
15:15:29.631 [print] [
"http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=b59f06c0-dce5-11e3-9c10-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full",
"http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=64c987ec-dce6-11e3-8563-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full",
"http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=daa63e4c-dce6-11e3-991e-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full",
"http://data.knmi.nl/inspire/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=380aa01e-dce7-11e3-9f07-901b0e19e163&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full"
]
9004
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9005
* eval db.writeln('"18e052b6-dce6-11e3-9e6e-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9006
* eval db.writeln('"18e052b6-dce6-11e3-9e6e-901b0e19e163","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.238:18]8129296b-b9c1-489f-990a-df4a879e12b2
ms: 329
>>
Background:
9007
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
9008
* def mystorage = Java.type('storage.DataStorage')
1
9009
* def db = new mystorage
1
9010
* def db = db.setfeature(karate.info.featureFileName)
1
9011
* def separator = java.lang.System.getProperty("file.separator")
1
9012
* def outputpath = db.outputpath()
1
9013
* eval db.ensureDirectory(outputpath)
1
9014
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9015
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9016
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9017
Given path 'geonetwork/srv/dut/inspire'
0
9018
And param service = 'CSW'
0
9019
And param version = '2.0.2'
0
9020
And param request = 'GetRecordById'
0
9021
And param id = '8129296b-b9c1-489f-990a-df4a879e12b2'
0
9022
And param elementsetname = 'full'
0
9023
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9024
When method get
320
9025
Then status 200
0
9026
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '8129296b-b9c1-489f-990a-df4a879e12b2'
1
9027
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9028
* def title = get response //citation/CI_Citation/title/CharacterString
0
9029
* def email = get response //electronicMailAddress/CharacterString
0
9030
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
9031
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9032
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9033
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9034
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9035
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9036
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
9037
* print connectUrl
0
15:15:29.687 [print] https://service.pdok.nl/cbs/hh/wfs/v1_0?request=GetCapabilities&service=WFS
9038
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9039
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9040
* print organisationpath
0
15:15:29.688 [print] Beheer PDOK
9041
* print operateson
0
15:15:29.688 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=12bb57cd-73e0-41ba-a1e9-6d986b9109d3#MD_DataIdentification
9042
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9043
* eval db.writeln('"8129296b-b9c1-489f-990a-df4a879e12b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9044
* eval db.writeln('"8129296b-b9c1-489f-990a-df4a879e12b2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.239:18]1601e160-91e8-4091-9aca-10294f819d42
ms: 297
>>
Background:
9045
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
9046
* def mystorage = Java.type('storage.DataStorage')
1
9047
* def db = new mystorage
1
9048
* def db = db.setfeature(karate.info.featureFileName)
1
9049
* def separator = java.lang.System.getProperty("file.separator")
1
9050
* def outputpath = db.outputpath()
1
9051
* eval db.ensureDirectory(outputpath)
1
9052
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9053
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9054
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9055
Given path 'geonetwork/srv/dut/inspire'
0
9056
And param service = 'CSW'
0
9057
And param version = '2.0.2'
0
9058
And param request = 'GetRecordById'
0
9059
And param id = '1601e160-91e8-4091-9aca-10294f819d42'
0
9060
And param elementsetname = 'full'
0
9061
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9062
When method get
285
9063
Then status 200
0
9064
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1601e160-91e8-4091-9aca-10294f819d42'
1
9065
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9066
* def title = get response //citation/CI_Citation/title/CharacterString
1
9067
* def email = get response //electronicMailAddress/CharacterString
1
9068
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9069
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9070
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9071
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9072
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9073
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9074
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
9075
* print connectUrl
0
15:15:29.745 [print] https://geodata.nationaalgeoregister.nl/inspire/ps-natura2000/wfs?request=GetCapabilities
9076
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9077
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9078
* print organisationpath
0
15:15:29.745 [print] Beheer PDOK
9079
* print operateson
0
15:15:29.746 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=280ed37a-b8d2-4ac5-8567-04d84fad3a41#MD_DataIdentification
9080
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9081
* eval db.writeln('"1601e160-91e8-4091-9aca-10294f819d42","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9082
* eval db.writeln('"1601e160-91e8-4091-9aca-10294f819d42","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.240:18]fff9d7cf-9929-4dde-98b8-06ceda7e5610
ms: 284
>>
Background:
9083
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
9084
* def mystorage = Java.type('storage.DataStorage')
1
9085
* def db = new mystorage
1
9086
* def db = db.setfeature(karate.info.featureFileName)
1
9087
* def separator = java.lang.System.getProperty("file.separator")
1
9088
* def outputpath = db.outputpath()
1
9089
* eval db.ensureDirectory(outputpath)
1
9090
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9091
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9092
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9093
Given path 'geonetwork/srv/dut/inspire'
0
9094
And param service = 'CSW'
0
9095
And param version = '2.0.2'
0
9096
And param request = 'GetRecordById'
0
9097
And param id = 'fff9d7cf-9929-4dde-98b8-06ceda7e5610'
1
9098
And param elementsetname = 'full'
0
9099
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9100
When method get
274
9101
Then status 200
0
9102
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'fff9d7cf-9929-4dde-98b8-06ceda7e5610'
1
9103
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9104
* def title = get response //citation/CI_Citation/title/CharacterString
0
9105
* def email = get response //electronicMailAddress/CharacterString
1
9106
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9107
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9108
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9109
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9110
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9111
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9112
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
9113
* print connectUrl
0
15:15:29.797 [print] https://geodata.nationaalgeoregister.nl/ahn2/wcs?request=GetCapabilities&service=WCS
9114
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9115
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9116
* print organisationpath
0
15:15:29.798 [print] Beheer PDOK
9117
* print operateson
0
15:15:29.798 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=7939fd42-cf88-42c5-ab3b-232cf232a3ac#MD_DataIdentification
9118
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9119
* eval db.writeln('"fff9d7cf-9929-4dde-98b8-06ceda7e5610","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9120
* eval db.writeln('"fff9d7cf-9929-4dde-98b8-06ceda7e5610","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.241:18]972edbaa-f860-4c48-b449-4f238a263472
ms: 291
>>
Background:
9121
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
9122
* def mystorage = Java.type('storage.DataStorage')
1
9123
* def db = new mystorage
1
9124
* def db = db.setfeature(karate.info.featureFileName)
1
9125
* def separator = java.lang.System.getProperty("file.separator")
1
9126
* def outputpath = db.outputpath()
1
9127
* eval db.ensureDirectory(outputpath)
1
9128
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9129
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9130
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9131
Given path 'geonetwork/srv/dut/inspire'
0
9132
And param service = 'CSW'
0
9133
And param version = '2.0.2'
0
9134
And param request = 'GetRecordById'
0
9135
And param id = '972edbaa-f860-4c48-b449-4f238a263472'
0
9136
And param elementsetname = 'full'
0
9137
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9138
When method get
280
9139
Then status 200
0
9140
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '972edbaa-f860-4c48-b449-4f238a263472'
1
9141
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9142
* def title = get response //citation/CI_Citation/title/CharacterString
1
9143
* def email = get response //electronicMailAddress/CharacterString
1
9144
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9145
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9146
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9147
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9148
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9149
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9150
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
9151
* print connectUrl
0
15:15:29.920 [print] https://geodata.nationaalgeoregister.nl/restwarmte/wfs?request=GetCapabilities
9152
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9153
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9154
* print organisationpath
0
15:15:29.921 [print] Beheer PDOK
9155
* print operateson
0
15:15:29.921 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=d6b85d84-cdb9-4a6e-b799-cf8826e22a94#MD_DataIdentification
9156
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9157
* eval db.writeln('"972edbaa-f860-4c48-b449-4f238a263472","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9158
* eval db.writeln('"972edbaa-f860-4c48-b449-4f238a263472","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.242:18]4b6752ae-65d6-44b5-98ef-1fc30f4fd92d
ms: 282
>>
Background:
9159
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
9160
* def mystorage = Java.type('storage.DataStorage')
1
9161
* def db = new mystorage
1
9162
* def db = db.setfeature(karate.info.featureFileName)
1
9163
* def separator = java.lang.System.getProperty("file.separator")
1
9164
* def outputpath = db.outputpath()
1
9165
* eval db.ensureDirectory(outputpath)
1
9166
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9167
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9168
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9169
Given path 'geonetwork/srv/dut/inspire'
1
9170
And param service = 'CSW'
0
9171
And param version = '2.0.2'
0
9172
And param request = 'GetRecordById'
0
9173
And param id = '4b6752ae-65d6-44b5-98ef-1fc30f4fd92d'
1
9174
And param elementsetname = 'full'
0
9175
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9176
When method get
271
9177
Then status 200
0
9178
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4b6752ae-65d6-44b5-98ef-1fc30f4fd92d'
1
9179
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9180
* def title = get response //citation/CI_Citation/title/CharacterString
1
9181
* def email = get response //electronicMailAddress/CharacterString
1
9182
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9183
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9184
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9185
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9186
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9187
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9188
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
9189
* print connectUrl
0
15:15:29.969 [print] https://geodata.nationaalgeoregister.nl/rwsgeluidskaarten/wms?request=GetCapabilities
9190
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9191
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9192
* print organisationpath
0
15:15:29.970 [print] Beheer PDOK
9193
* print operateson
0
15:15:29.970 [print] [
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=50eef6be-619d-4e16-9b92-48971109b636#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=8de2f5eb-b09f-4f6d-8397-8878a1b86238#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9b583730-e750-485a-9c0c-39bf9be72cf8#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a57cb859-c4fe-444c-adc6-be14cb2bbf36#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9b583730-e750-485a-9c0c-39bf9be72cf9#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a57cb859-c4fe-444c-adc6-be14cb2bbf38#MD_DataIdentification"
]
9194
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9195
* eval db.writeln('"4b6752ae-65d6-44b5-98ef-1fc30f4fd92d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9196
* eval db.writeln('"4b6752ae-65d6-44b5-98ef-1fc30f4fd92d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.243:18]74620aa8-4fa2-414d-8350-50d93e500da8
ms: 290
>>
Background:
9197
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
9198
* def mystorage = Java.type('storage.DataStorage')
1
9199
* def db = new mystorage
1
9200
* def db = db.setfeature(karate.info.featureFileName)
1
9201
* def separator = java.lang.System.getProperty("file.separator")
1
9202
* def outputpath = db.outputpath()
1
9203
* eval db.ensureDirectory(outputpath)
1
9204
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9205
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9206
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9207
Given path 'geonetwork/srv/dut/inspire'
0
9208
And param service = 'CSW'
0
9209
And param version = '2.0.2'
0
9210
And param request = 'GetRecordById'
0
9211
And param id = '74620aa8-4fa2-414d-8350-50d93e500da8'
1
9212
And param elementsetname = 'full'
0
9213
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9214
When method get
277
9215
Then status 200
0
9216
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '74620aa8-4fa2-414d-8350-50d93e500da8'
1
9217
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9218
* def title = get response //citation/CI_Citation/title/CharacterString
1
9219
* def email = get response //electronicMailAddress/CharacterString
1
9220
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9221
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9222
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9223
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
9224
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
9225
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
9226
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
9227
* print connectUrl
0
15:15:30.035 [print] https://geodata.nationaalgeoregister.nl/rwsgeluidskaarten/wfs?request=GetCapabilities
9228
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
9229
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9230
* print organisationpath
0
15:15:30.037 [print] Beheer PDOK
9231
* print operateson
0
15:15:30.037 [print] [
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=50eef6be-619d-4e16-9b92-48971109b636#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=8de2f5eb-b09f-4f6d-8397-8878a1b86238#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9b583730-e750-485a-9c0c-39bf9be72cf8#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a57cb859-c4fe-444c-adc6-be14cb2bbf36#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9b583730-e750-485a-9c0c-39bf9be72cf9#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a57cb859-c4fe-444c-adc6-be14cb2bbf38#MD_DataIdentification"
]
9232
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9233
* eval db.writeln('"74620aa8-4fa2-414d-8350-50d93e500da8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9234
* eval db.writeln('"74620aa8-4fa2-414d-8350-50d93e500da8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.244:18]b023459a-9f0e-4d53-8059-a794119abbed
ms: 329
>>
Background:
9235
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
9236
* def mystorage = Java.type('storage.DataStorage')
1
9237
* def db = new mystorage
1
9238
* def db = db.setfeature(karate.info.featureFileName)
1
9239
* def separator = java.lang.System.getProperty("file.separator")
1
9240
* def outputpath = db.outputpath()
1
9241
* eval db.ensureDirectory(outputpath)
1
9242
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9243
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9244
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9245
Given path 'geonetwork/srv/dut/inspire'
0
9246
And param service = 'CSW'
0
9247
And param version = '2.0.2'
0
9248
And param request = 'GetRecordById'
0
9249
And param id = 'b023459a-9f0e-4d53-8059-a794119abbed'
1
9250
And param elementsetname = 'full'
0
9251
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9252
When method get
317
9253
Then status 200
0
9254
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b023459a-9f0e-4d53-8059-a794119abbed'
1
9255
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9256
* def title = get response //citation/CI_Citation/title/CharacterString
1
9257
* def email = get response //electronicMailAddress/CharacterString
1
9258
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9259
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9260
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9261
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
9262
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
9263
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
9264
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
9265
* print connectUrl
0
15:15:30.127 [print] https://geodata.nationaalgeoregister.nl/inspire/ps-cdda/wfs?request=GetCapabilities
9266
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9267
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9268
* print organisationpath
0
15:15:30.128 [print] Beheer PDOK
9269
* print operateson
0
15:15:30.128 [print] https://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3387ef8a-9237-453a-aa4e-585d1e193550#MD_DataIdentification
9270
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9271
* eval db.writeln('"b023459a-9f0e-4d53-8059-a794119abbed","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9272
* eval db.writeln('"b023459a-9f0e-4d53-8059-a794119abbed","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.245:18]97cf6a64-9cfc-4ce6-9741-2db44fd27fca
ms: 335
>>
Background:
9273
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
9274
* def mystorage = Java.type('storage.DataStorage')
1
9275
* def db = new mystorage
1
9276
* def db = db.setfeature(karate.info.featureFileName)
1
9277
* def separator = java.lang.System.getProperty("file.separator")
1
9278
* def outputpath = db.outputpath()
1
9279
* eval db.ensureDirectory(outputpath)
1
9280
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9281
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9282
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9283
Given path 'geonetwork/srv/dut/inspire'
0
9284
And param service = 'CSW'
0
9285
And param version = '2.0.2'
0
9286
And param request = 'GetRecordById'
0
9287
And param id = '97cf6a64-9cfc-4ce6-9741-2db44fd27fca'
1
9288
And param elementsetname = 'full'
0
9289
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9290
When method get
323
9291
Then status 200
0
9292
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '97cf6a64-9cfc-4ce6-9741-2db44fd27fca'
1
9293
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9294
* def title = get response //citation/CI_Citation/title/CharacterString
0
9295
* def email = get response //electronicMailAddress/CharacterString
0
9296
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9297
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9298
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9299
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9300
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9301
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9302
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
9303
* print connectUrl
0
15:15:30.256 [print] https://geodata.nationaalgeoregister.nl/kadastralekaart/wms/v4_0?request=GetCapabilities&service=WMS
9304
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9305
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9306
* print organisationpath
0
15:15:30.257 [print] Beheer PDOK
9307
* print operateson
0
15:15:30.257 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=a29917b9-3426-4041-a11b-69bcb2256904&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
9308
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9309
* eval db.writeln('"97cf6a64-9cfc-4ce6-9741-2db44fd27fca","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9310
* eval db.writeln('"97cf6a64-9cfc-4ce6-9741-2db44fd27fca","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.246:18]6d23a02b-5a8a-447e-a481-ddb2a085c1fa
ms: 330
>>
Background:
9311
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
9312
* def mystorage = Java.type('storage.DataStorage')
1
9313
* def db = new mystorage
1
9314
* def db = db.setfeature(karate.info.featureFileName)
1
9315
* def separator = java.lang.System.getProperty("file.separator")
1
9316
* def outputpath = db.outputpath()
1
9317
* eval db.ensureDirectory(outputpath)
1
9318
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9319
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9320
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9321
Given path 'geonetwork/srv/dut/inspire'
0
9322
And param service = 'CSW'
0
9323
And param version = '2.0.2'
0
9324
And param request = 'GetRecordById'
0
9325
And param id = '6d23a02b-5a8a-447e-a481-ddb2a085c1fa'
0
9326
And param elementsetname = 'full'
0
9327
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9328
When method get
320
9329
Then status 200
0
9330
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6d23a02b-5a8a-447e-a481-ddb2a085c1fa'
1
9331
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9332
* def title = get response //citation/CI_Citation/title/CharacterString
1
9333
* def email = get response //electronicMailAddress/CharacterString
1
9334
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9335
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9336
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9337
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9338
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9339
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9340
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
9341
* print connectUrl
0
15:15:30.301 [print] https://geodata.nationaalgeoregister.nl/tiles/service/wmts?request=GetCapabilities
9342
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9343
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9344
* print organisationpath
0
15:15:30.302 [print] Beheer PDOK
9345
* print operateson
0
15:15:30.302 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3373be8c-8539-4763-bc22-eba23ac1898f#MD_DataIdentification
9346
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9347
* eval db.writeln('"6d23a02b-5a8a-447e-a481-ddb2a085c1fa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9348
* eval db.writeln('"6d23a02b-5a8a-447e-a481-ddb2a085c1fa","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.247:18]1cb58f52-c397-4cec-aba3-45358db3c4c9
ms: 307
>>
Background:
9349
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
9350
* def mystorage = Java.type('storage.DataStorage')
1
9351
* def db = new mystorage
1
9352
* def db = db.setfeature(karate.info.featureFileName)
1
9353
* def separator = java.lang.System.getProperty("file.separator")
1
9354
* def outputpath = db.outputpath()
1
9355
* eval db.ensureDirectory(outputpath)
1
9356
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9357
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9358
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9359
Given path 'geonetwork/srv/dut/inspire'
0
9360
And param service = 'CSW'
0
9361
And param version = '2.0.2'
0
9362
And param request = 'GetRecordById'
0
9363
And param id = '1cb58f52-c397-4cec-aba3-45358db3c4c9'
0
9364
And param elementsetname = 'full'
0
9365
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9366
When method get
298
9367
Then status 200
0
9368
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1cb58f52-c397-4cec-aba3-45358db3c4c9'
1
9369
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9370
* def title = get response //citation/CI_Citation/title/CharacterString
0
9371
* def email = get response //electronicMailAddress/CharacterString
0
9372
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9373
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9374
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9375
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9376
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9377
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9378
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
9379
* print connectUrl
0
15:15:30.344 [print] https://geodata.nationaalgeoregister.nl/inspire/cp/wms?request=GetCapabilities
9380
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9381
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9382
* print organisationpath
0
15:15:30.345 [print] Beheer PDOK
9383
* print operateson
0
15:15:30.345 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e80ad426-1392-4349-9f80-14dae5f1bf57#MD_DataIdentification
9384
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9385
* eval db.writeln('"1cb58f52-c397-4cec-aba3-45358db3c4c9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9386
* eval db.writeln('"1cb58f52-c397-4cec-aba3-45358db3c4c9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.248:18]1d568785-efdd-429d-b491-56f785c3656a
ms: 354
>>
Background:
9387
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
9388
* def mystorage = Java.type('storage.DataStorage')
1
9389
* def db = new mystorage
1
9390
* def db = db.setfeature(karate.info.featureFileName)
1
9391
* def separator = java.lang.System.getProperty("file.separator")
1
9392
* def outputpath = db.outputpath()
1
9393
* eval db.ensureDirectory(outputpath)
1
9394
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9395
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9396
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9397
Given path 'geonetwork/srv/dut/inspire'
0
9398
And param service = 'CSW'
0
9399
And param version = '2.0.2'
0
9400
And param request = 'GetRecordById'
0
9401
And param id = '1d568785-efdd-429d-b491-56f785c3656a'
0
9402
And param elementsetname = 'full'
0
9403
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9404
When method get
340
9405
Then status 200
0
9406
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1d568785-efdd-429d-b491-56f785c3656a'
1
9407
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9408
* def title = get response //citation/CI_Citation/title/CharacterString
1
9409
* def email = get response //electronicMailAddress/CharacterString
1
9410
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9411
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9412
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9413
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
9414
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
9415
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
9416
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
9417
* print connectUrl
0
15:15:30.481 [print] https://geodata.nationaalgeoregister.nl/inspire/au/wfs?request=GetCapabilities
9418
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
9419
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9420
* print organisationpath
0
15:15:30.482 [print] Beheer PDOK
9421
* print operateson
0
15:15:30.482 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=7dd1fd45-ace5-41e0-93a6-64e3be231717#MD_DataIdentification
9422
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9423
* eval db.writeln('"1d568785-efdd-429d-b491-56f785c3656a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9424
* eval db.writeln('"1d568785-efdd-429d-b491-56f785c3656a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.249:18]c78a99eb-9ba3-4307-a21b-2a64ad5da039
ms: 299
>>
Background:
9425
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
9426
* def mystorage = Java.type('storage.DataStorage')
1
9427
* def db = new mystorage
1
9428
* def db = db.setfeature(karate.info.featureFileName)
1
9429
* def separator = java.lang.System.getProperty("file.separator")
1
9430
* def outputpath = db.outputpath()
1
9431
* eval db.ensureDirectory(outputpath)
1
9432
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9433
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9434
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9435
Given path 'geonetwork/srv/dut/inspire'
0
9436
And param service = 'CSW'
0
9437
And param version = '2.0.2'
0
9438
And param request = 'GetRecordById'
0
9439
And param id = 'c78a99eb-9ba3-4307-a21b-2a64ad5da039'
0
9440
And param elementsetname = 'full'
0
9441
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9442
When method get
288
9443
Then status 200
0
9444
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'c78a99eb-9ba3-4307-a21b-2a64ad5da039'
1
9445
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9446
* def title = get response //citation/CI_Citation/title/CharacterString
1
9447
* def email = get response //electronicMailAddress/CharacterString
0
9448
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9449
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9450
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9451
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9452
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9453
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9454
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
9455
* print connectUrl
0
15:15:30.556 [print] https://geodata.nationaalgeoregister.nl/mosselzaadinvanginstallaties/wms?request=GetCapabilities
9456
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9457
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9458
* print organisationpath
0
15:15:30.557 [print] Beheer PDOK
9459
* print operateson
0
15:15:30.557 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=a04afee4-47d5-45b7-b7a0-a6f86106af11#MD_DataIdentification
9460
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9461
* eval db.writeln('"c78a99eb-9ba3-4307-a21b-2a64ad5da039","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9462
* eval db.writeln('"c78a99eb-9ba3-4307-a21b-2a64ad5da039","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.250:18]5be14ec9-9bb3-4395-a061-e7e78d04a527
ms: 320
>>
Background:
9463
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
9464
* def mystorage = Java.type('storage.DataStorage')
1
9465
* def db = new mystorage
1
9466
* def db = db.setfeature(karate.info.featureFileName)
1
9467
* def separator = java.lang.System.getProperty("file.separator")
1
9468
* def outputpath = db.outputpath()
1
9469
* eval db.ensureDirectory(outputpath)
1
9470
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9471
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9472
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9473
Given path 'geonetwork/srv/dut/inspire'
0
9474
And param service = 'CSW'
0
9475
And param version = '2.0.2'
0
9476
And param request = 'GetRecordById'
0
9477
And param id = '5be14ec9-9bb3-4395-a061-e7e78d04a527'
0
9478
And param elementsetname = 'full'
0
9479
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9480
When method get
306
9481
Then status 200
0
9482
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5be14ec9-9bb3-4395-a061-e7e78d04a527'
1
9483
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9484
* def title = get response //citation/CI_Citation/title/CharacterString
0
9485
* def email = get response //electronicMailAddress/CharacterString
0
9486
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9487
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9488
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9489
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9490
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9491
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9492
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
9493
* print connectUrl
0
15:15:30.617 [print] https://geodata.nationaalgeoregister.nl/inspire/bu/wms?request=GetCapabilities
9494
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9495
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9496
* print organisationpath
0
15:15:30.618 [print] Beheer PDOK
9497
* print operateson
0
15:15:30.618 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=b4ae622c-6201-49d8-bd2e-f7fce9206a1e#MD_DataIdentification
9498
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9499
* eval db.writeln('"5be14ec9-9bb3-4395-a061-e7e78d04a527","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
6
9500
* eval db.writeln('"5be14ec9-9bb3-4395-a061-e7e78d04a527","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.251:18]b0119753-5625-4500-9df3-13823ff9868f
ms: 344
>>
Background:
9501
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
9502
* def mystorage = Java.type('storage.DataStorage')
1
9503
* def db = new mystorage
1
9504
* def db = db.setfeature(karate.info.featureFileName)
1
9505
* def separator = java.lang.System.getProperty("file.separator")
1
9506
* def outputpath = db.outputpath()
1
9507
* eval db.ensureDirectory(outputpath)
1
9508
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9509
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9510
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9511
Given path 'geonetwork/srv/dut/inspire'
0
9512
And param service = 'CSW'
0
9513
And param version = '2.0.2'
0
9514
And param request = 'GetRecordById'
0
9515
And param id = 'b0119753-5625-4500-9df3-13823ff9868f'
0
9516
And param elementsetname = 'full'
0
9517
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9518
When method get
318
9519
Then status 200
0
9520
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b0119753-5625-4500-9df3-13823ff9868f'
2
9521
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
3
9522
* def title = get response //citation/CI_Citation/title/CharacterString
3
9523
* def email = get response //electronicMailAddress/CharacterString
2
9524
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
2
9525
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
9526
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9527
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
9528
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
9529
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
9530
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
9531
* print connectUrl
0
15:15:30.684 [print] https://geodata.nationaalgeoregister.nl/habitatrichtlijnverspreidingtypen/wms?request=GetCapabilities
9532
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
9533
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
9534
* print organisationpath
0
15:15:30.687 [print] Beheer PDOK
9535
* print operateson
0
15:15:30.687 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=977e0e94-7aa9-4784-b2da-eaec44adb61b#MD_DataIdentification
9536
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
2
9537
* eval db.writeln('"b0119753-5625-4500-9df3-13823ff9868f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9538
* eval db.writeln('"b0119753-5625-4500-9df3-13823ff9868f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.252:18]9ad3f0c0-9e2c-4d44-a467-b57920aa512f
ms: 296
>>
Background:
9539
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
9540
* def mystorage = Java.type('storage.DataStorage')
1
9541
* def db = new mystorage
1
9542
* def db = db.setfeature(karate.info.featureFileName)
1
9543
* def separator = java.lang.System.getProperty("file.separator")
1
9544
* def outputpath = db.outputpath()
1
9545
* eval db.ensureDirectory(outputpath)
1
9546
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9547
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9548
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9549
Given path 'geonetwork/srv/dut/inspire'
0
9550
And param service = 'CSW'
0
9551
And param version = '2.0.2'
0
9552
And param request = 'GetRecordById'
0
9553
And param id = '9ad3f0c0-9e2c-4d44-a467-b57920aa512f'
0
9554
And param elementsetname = 'full'
0
9555
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9556
When method get
286
9557
Then status 200
0
9558
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9ad3f0c0-9e2c-4d44-a467-b57920aa512f'
1
9559
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9560
* def title = get response //citation/CI_Citation/title/CharacterString
1
9561
* def email = get response //electronicMailAddress/CharacterString
1
9562
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9563
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9564
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9565
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9566
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9567
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9568
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
9569
* print connectUrl
0
15:15:30.778 [print] http://geodata.nationaalgeoregister.nl/hwh/eenheden/atom/v1_0/index.xml
9570
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9571
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9572
* print organisationpath
0
15:15:30.779 [print] Beheer PDOK
9573
* print operateson
0
15:15:30.779 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ea938ed4-c9c0-4324-824f-5926669ba0e0#MD_DataIdentification
9574
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9575
* eval db.writeln('"9ad3f0c0-9e2c-4d44-a467-b57920aa512f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9576
* eval db.writeln('"9ad3f0c0-9e2c-4d44-a467-b57920aa512f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.253:18]aaf53e6f-fe99-4a86-a61c-50b128412d80
ms: 281
>>
Background:
9577
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
9578
* def mystorage = Java.type('storage.DataStorage')
1
9579
* def db = new mystorage
1
9580
* def db = db.setfeature(karate.info.featureFileName)
1
9581
* def separator = java.lang.System.getProperty("file.separator")
1
9582
* def outputpath = db.outputpath()
1
9583
* eval db.ensureDirectory(outputpath)
1
9584
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9585
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9586
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9587
Given path 'geonetwork/srv/dut/inspire'
0
9588
And param service = 'CSW'
0
9589
And param version = '2.0.2'
0
9590
And param request = 'GetRecordById'
0
9591
And param id = 'aaf53e6f-fe99-4a86-a61c-50b128412d80'
0
9592
And param elementsetname = 'full'
0
9593
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9594
When method get
272
9595
Then status 200
0
9596
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'aaf53e6f-fe99-4a86-a61c-50b128412d80'
1
9597
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9598
* def title = get response //citation/CI_Citation/title/CharacterString
1
9599
* def email = get response //electronicMailAddress/CharacterString
1
9600
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9601
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9602
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9603
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9604
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9605
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9606
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
9607
* print connectUrl
0
15:15:30.838 [print] https://geodata.nationaalgeoregister.nl/mosselenoesterhabitats/wfs?request=GetCapabilities
9608
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9609
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9610
* print organisationpath
0
15:15:30.839 [print] Beheer PDOK
9611
* print operateson
0
15:15:30.839 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3d59fd06-9aec-4744-91e7-65e119f74569#MD_DataIdentification
9612
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9613
* eval db.writeln('"aaf53e6f-fe99-4a86-a61c-50b128412d80","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9614
* eval db.writeln('"aaf53e6f-fe99-4a86-a61c-50b128412d80","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.254:18]15c3c30f-0db2-4b3b-80f6-b990c8fc8225
ms: 301
>>
Background:
9615
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
9616
* def mystorage = Java.type('storage.DataStorage')
1
9617
* def db = new mystorage
1
9618
* def db = db.setfeature(karate.info.featureFileName)
1
9619
* def separator = java.lang.System.getProperty("file.separator")
1
9620
* def outputpath = db.outputpath()
1
9621
* eval db.ensureDirectory(outputpath)
1
9622
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9623
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9624
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9625
Given path 'geonetwork/srv/dut/inspire'
0
9626
And param service = 'CSW'
0
9627
And param version = '2.0.2'
0
9628
And param request = 'GetRecordById'
0
9629
And param id = '15c3c30f-0db2-4b3b-80f6-b990c8fc8225'
1
9630
And param elementsetname = 'full'
0
9631
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9632
When method get
289
9633
Then status 200
0
9634
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '15c3c30f-0db2-4b3b-80f6-b990c8fc8225'
1
9635
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9636
* def title = get response //citation/CI_Citation/title/CharacterString
0
9637
* def email = get response //electronicMailAddress/CharacterString
0
9638
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
9639
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9640
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9641
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9642
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9643
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9644
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
9645
* print connectUrl
0
15:15:30.921 [print] https://service.pdok.nl/hwh/hydrografie/atom/v1_0/index.xml
9646
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9647
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9648
* print organisationpath
0
15:15:30.922 [print] Beheer PDOK
9649
* print operateson
0
15:15:30.922 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=07575774-57a1-4419-bab4-6c88fdeb02b2#MD_DataIdentification
9650
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9651
* eval db.writeln('"15c3c30f-0db2-4b3b-80f6-b990c8fc8225","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9652
* eval db.writeln('"15c3c30f-0db2-4b3b-80f6-b990c8fc8225","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.255:18]58353cdf-b3a1-454e-9284-932a7e815e57
ms: 291
>>
Background:
9653
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
9654
* def mystorage = Java.type('storage.DataStorage')
1
9655
* def db = new mystorage
1
9656
* def db = db.setfeature(karate.info.featureFileName)
1
9657
* def separator = java.lang.System.getProperty("file.separator")
1
9658
* def outputpath = db.outputpath()
1
9659
* eval db.ensureDirectory(outputpath)
1
9660
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9661
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9662
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9663
Given path 'geonetwork/srv/dut/inspire'
0
9664
And param service = 'CSW'
0
9665
And param version = '2.0.2'
0
9666
And param request = 'GetRecordById'
0
9667
And param id = '58353cdf-b3a1-454e-9284-932a7e815e57'
0
9668
And param elementsetname = 'full'
0
9669
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9670
When method get
275
9671
Then status 200
0
9672
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '58353cdf-b3a1-454e-9284-932a7e815e57'
1
9673
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9674
* def title = get response //citation/CI_Citation/title/CharacterString
1
9675
* def email = get response //electronicMailAddress/CharacterString
1
9676
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9677
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9678
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9679
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
9680
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
9681
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
9682
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
9683
* print connectUrl
0
15:15:30.976 [print] https://geodata.nationaalgeoregister.nl/inspire/hy-p/wfs?request=GetCapabilities
9684
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
9685
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9686
* print organisationpath
0
15:15:30.977 [print] Beheer PDOK
9687
* print operateson
0
15:15:30.977 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=1c3afc74-cc34-44b7-938a-963e2350795a#MD_DataIdentification
9688
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9689
* eval db.writeln('"58353cdf-b3a1-454e-9284-932a7e815e57","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9690
* eval db.writeln('"58353cdf-b3a1-454e-9284-932a7e815e57","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
5
Scenario Outline: [1.256:18]a02c6566-e0ad-4fc1-b217-67cc1099dea2
ms: 295
>>
Background:
9691
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
9692
* def mystorage = Java.type('storage.DataStorage')
1
9693
* def db = new mystorage
1
9694
* def db = db.setfeature(karate.info.featureFileName)
1
9695
* def separator = java.lang.System.getProperty("file.separator")
1
9696
* def outputpath = db.outputpath()
1
9697
* eval db.ensureDirectory(outputpath)
1
9698
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9699
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9700
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9701
Given path 'geonetwork/srv/dut/inspire'
0
9702
And param service = 'CSW'
0
9703
And param version = '2.0.2'
0
9704
And param request = 'GetRecordById'
0
9705
And param id = 'a02c6566-e0ad-4fc1-b217-67cc1099dea2'
0
9706
And param elementsetname = 'full'
0
9707
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9708
When method get
285
9709
Then status 200
0
9710
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a02c6566-e0ad-4fc1-b217-67cc1099dea2'
1
9711
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9712
* def title = get response //citation/CI_Citation/title/CharacterString
0
9713
* def email = get response //electronicMailAddress/CharacterString
0
9714
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9715
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9716
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9717
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9718
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9719
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9720
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
9721
* print connectUrl
0
15:15:31.074 [print] https://inspire.rivm.nl/geoserver/wms?request=GetCapabilities
9722
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9723
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9724
* print organisationpath
0
15:15:31.075 [print] Rijksinstituut voor Volksgezondheid en Milieu
9725
* print operateson
0
15:15:31.075 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8b0b02a0-1e1b-4cda-bcfe-6fa0f738e38f#MD_DataIdentification
9726
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9727
* eval db.writeln('"a02c6566-e0ad-4fc1-b217-67cc1099dea2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9728
* eval db.writeln('"a02c6566-e0ad-4fc1-b217-67cc1099dea2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.257:18]17ad94f6-4961-448b-a6f5-5368b7870409
ms: 275
>>
Background:
9729
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
9730
* def mystorage = Java.type('storage.DataStorage')
1
9731
* def db = new mystorage
1
9732
* def db = db.setfeature(karate.info.featureFileName)
1
9733
* def separator = java.lang.System.getProperty("file.separator")
1
9734
* def outputpath = db.outputpath()
1
9735
* eval db.ensureDirectory(outputpath)
1
9736
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9737
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9738
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9739
Given path 'geonetwork/srv/dut/inspire'
0
9740
And param service = 'CSW'
0
9741
And param version = '2.0.2'
0
9742
And param request = 'GetRecordById'
0
9743
And param id = '17ad94f6-4961-448b-a6f5-5368b7870409'
0
9744
And param elementsetname = 'full'
0
9745
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9746
When method get
266
9747
Then status 200
0
9748
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '17ad94f6-4961-448b-a6f5-5368b7870409'
0
9749
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9750
* def title = get response //citation/CI_Citation/title/CharacterString
0
9751
* def email = get response //electronicMailAddress/CharacterString
0
9752
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
9753
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9754
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9755
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9756
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9757
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9758
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
9759
* print connectUrl
0
15:15:31.114 [print] https://inspire.caris.nl/geoserver3/bathy_wcs/wms?request=GetCapabilities
9760
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9761
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9762
* print organisationpath
0
15:15:31.114 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
9763
* print operateson
0
15:15:31.114 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/xml.metadata.get?uuid=a322184d-6285-4856-bb78-f450b30ffc0e#MD_DataIdentification
9764
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9765
* eval db.writeln('"17ad94f6-4961-448b-a6f5-5368b7870409","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9766
* eval db.writeln('"17ad94f6-4961-448b-a6f5-5368b7870409","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.258:18]adn573b0-bd3b-4d7b-a97d-e65841e6e0b3
ms: 298
>>
Background:
9767
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
9768
* def mystorage = Java.type('storage.DataStorage')
1
9769
* def db = new mystorage
1
9770
* def db = db.setfeature(karate.info.featureFileName)
1
9771
* def separator = java.lang.System.getProperty("file.separator")
1
9772
* def outputpath = db.outputpath()
1
9773
* eval db.ensureDirectory(outputpath)
1
9774
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9775
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9776
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9777
Given path 'geonetwork/srv/dut/inspire'
0
9778
And param service = 'CSW'
0
9779
And param version = '2.0.2'
0
9780
And param request = 'GetRecordById'
0
9781
And param id = 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b3'
1
9782
And param elementsetname = 'full'
0
9783
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9784
When method get
284
9785
Then status 200
0
9786
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'adn573b0-bd3b-4d7b-a97d-e65841e6e0b3'
1
9787
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9788
* def title = get response //citation/CI_Citation/title/CharacterString
1
9789
* def email = get response //electronicMailAddress/CharacterString
1
9790
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9791
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9792
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9793
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
9794
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
9795
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
9796
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
9797
* print connectUrl
0
15:15:31.220 [print] https://inspire.caris.nl/geoserver3/rws/wms?service=WMS&version=1.3.0&request=GetCapabilities
9798
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
9799
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9800
* print organisationpath
0
15:15:31.222 [print] Rijkswaterstaat
9801
* print operateson
0
15:15:31.222 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=adn73c4a-ef03-4785-b7f6-942e86b385f5#MD_DataIdentification
9802
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9803
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9804
* eval db.writeln('"adn573b0-bd3b-4d7b-a97d-e65841e6e0b3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.259:18]9ff1a13c-d1e0-4150-8523-91cb489ae1a4
ms: 287
>>
Background:
9805
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
9806
* def mystorage = Java.type('storage.DataStorage')
1
9807
* def db = new mystorage
1
9808
* def db = db.setfeature(karate.info.featureFileName)
1
9809
* def separator = java.lang.System.getProperty("file.separator")
1
9810
* def outputpath = db.outputpath()
1
9811
* eval db.ensureDirectory(outputpath)
1
9812
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9813
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9814
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9815
Given path 'geonetwork/srv/dut/inspire'
1
9816
And param service = 'CSW'
0
9817
And param version = '2.0.2'
0
9818
And param request = 'GetRecordById'
0
9819
And param id = '9ff1a13c-d1e0-4150-8523-91cb489ae1a4'
1
9820
And param elementsetname = 'full'
0
9821
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9822
When method get
273
9823
Then status 200
0
9824
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9ff1a13c-d1e0-4150-8523-91cb489ae1a4'
1
9825
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9826
* def title = get response //citation/CI_Citation/title/CharacterString
1
9827
* def email = get response //electronicMailAddress/CharacterString
1
9828
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9829
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9830
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9831
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9832
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9833
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9834
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
9835
* print connectUrl
0
15:15:31.266 [print] https://geodata.nationaalgeoregister.nl/atom/index.xml
9836
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9837
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9838
* print organisationpath
0
15:15:31.267 [print] Beheer PDOK
9839
* print operateson
1
15:15:31.267 [print] [
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5a1adb58-0bbe-425d-b0fe-577a6c0a4228#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=71c2b7d2-a1a8-4836-b8d4-7247d331b04d#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=1462bbce-ccd3-4362-83d8-4535ca8f44eb#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f605a24f-60cd-4c40-94c8-2186aba3ddd0#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76091be7-358a-4a44-8182-b4139c96c6a4#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8829e5dd-c861-4639-a6c8-fdbb6e3440d2#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=710c381c-ab2d-45d5-a45d-af2eba811e5f#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a9b7026e-0a81-4813-93bd-ba49e6f28502#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2e5f0f60-0f2f-4e17-96af-c913fe305ecb#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=00d8c7c8-98ff-4b06-8f53-b44216e6e75c#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=701d4eb8-8aae-4708-bba5-3edf6987676d#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=17716ed7-ce0d-4bfd-8868-a398e5578a36#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=29d5310f-dd0d-45ba-abad-b4ffc6b8785f#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=831f7bd7-c2ae-4336-bd2f-47ab20d7cdb7#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=0f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=abaf1e22-55aa-4a11-a855-7ac963e4a82b#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=07d73b60-dfd6-4c54-9c82-9fac70c6c48e#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d25fe199-2430-48fd-ad57-5b5f79f73cdf#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=e536d943-ecff-4d7a-9500-cc31a263a6af#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=bbece924-9aab-4e00-8392-bce36b8f494e#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c935f2ab-9b65-4dc4-94a0-73aeb840a941#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=81ff84ec-42a4-4481-840b-12713bbb5d38#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=af0c582f-9e6b-46e6-865a-fc3a2d5289b9#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3eebf700-5abf-42e4-826c-03cfb497e366#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=9d9f1738-aced-47c9-aaa0-c62474a2dcfb#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8eee71f9-9365-490d-9484-00263c6fa35c#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4961d305-fbb5-426a-9ba3-53e1ca5f3b18#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2af8df10-81ba-434a-8125-34fe8f127cf9#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=6cde2ce7-3ecd-4785-b7b8-d62c3381efe9#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3229e4d7-4bcd-4b94-819d-8e62de69ce2e#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5d0dc580-ba7a-4c3b-968b-199efd92d6cf#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=bffcd5d9-02b4-4e7d-991f-a386611cad84#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification"
]
9840
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9841
* eval db.writeln('"9ff1a13c-d1e0-4150-8523-91cb489ae1a4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9842
* eval db.writeln('"9ff1a13c-d1e0-4150-8523-91cb489ae1a4","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.260:18]d293204f-6581-4b0a-811b-1dcce97adedd
ms: 292
>>
Background:
9843
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
9844
* def mystorage = Java.type('storage.DataStorage')
1
9845
* def db = new mystorage
1
9846
* def db = db.setfeature(karate.info.featureFileName)
1
9847
* def separator = java.lang.System.getProperty("file.separator")
1
9848
* def outputpath = db.outputpath()
1
9849
* eval db.ensureDirectory(outputpath)
1
9850
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9851
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9852
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9853
Given path 'geonetwork/srv/dut/inspire'
0
9854
And param service = 'CSW'
0
9855
And param version = '2.0.2'
0
9856
And param request = 'GetRecordById'
0
9857
And param id = 'd293204f-6581-4b0a-811b-1dcce97adedd'
0
9858
And param elementsetname = 'full'
0
9859
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9860
When method get
281
9861
Then status 200
0
9862
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd293204f-6581-4b0a-811b-1dcce97adedd'
1
9863
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9864
* def title = get response //citation/CI_Citation/title/CharacterString
1
9865
* def email = get response //electronicMailAddress/CharacterString
0
9866
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9867
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9868
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9869
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9870
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9871
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9872
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
9873
* print connectUrl
0
15:15:31.366 [print] https://geodata.nationaalgeoregister.nl/publiekrechtelijkebeperking/wms?request=GetCapabilities
9874
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9875
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9876
* print organisationpath
0
15:15:31.367 [print] Beheer PDOK
9877
* print operateson
0
15:15:31.367 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=e536d943-ecff-4d7a-9500-cc31a263a6af#MD_DataIdentification
9878
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9879
* eval db.writeln('"d293204f-6581-4b0a-811b-1dcce97adedd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9880
* eval db.writeln('"d293204f-6581-4b0a-811b-1dcce97adedd","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.261:18]4074b3c3-ca85-45ad-bc0d-b5fca8540c0a
ms: 284
>>
Background:
9881
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
9882
* def mystorage = Java.type('storage.DataStorage')
1
9883
* def db = new mystorage
1
9884
* def db = db.setfeature(karate.info.featureFileName)
1
9885
* def separator = java.lang.System.getProperty("file.separator")
1
9886
* def outputpath = db.outputpath()
1
9887
* eval db.ensureDirectory(outputpath)
1
9888
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9889
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9890
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9891
Given path 'geonetwork/srv/dut/inspire'
0
9892
And param service = 'CSW'
0
9893
And param version = '2.0.2'
0
9894
And param request = 'GetRecordById'
0
9895
And param id = '4074b3c3-ca85-45ad-bc0d-b5fca8540c0a'
0
9896
And param elementsetname = 'full'
0
9897
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9898
When method get
275
9899
Then status 200
0
9900
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '4074b3c3-ca85-45ad-bc0d-b5fca8540c0a'
1
9901
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9902
* def title = get response //citation/CI_Citation/title/CharacterString
0
9903
* def email = get response //electronicMailAddress/CharacterString
0
9904
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9905
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9906
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9907
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9908
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9909
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9910
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
9911
* print connectUrl
0
15:15:31.398 [print] https://geodata.nationaalgeoregister.nl/vin/wms?request=GetCapabilities
9912
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9913
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9914
* print organisationpath
0
15:15:31.399 [print] Beheer PDOK
9915
* print operateson
0
15:15:31.399 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=831f7bd7-c2ae-4336-bd2f-47ab20d7cdb7#MD_DataIdentification
9916
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9917
* eval db.writeln('"4074b3c3-ca85-45ad-bc0d-b5fca8540c0a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9918
* eval db.writeln('"4074b3c3-ca85-45ad-bc0d-b5fca8540c0a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.262:18]6d2fce74-fb25-4322-ab25-1be8a3bc7fd0
ms: 289
>>
Background:
9919
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
9920
* def mystorage = Java.type('storage.DataStorage')
1
9921
* def db = new mystorage
1
9922
* def db = db.setfeature(karate.info.featureFileName)
1
9923
* def separator = java.lang.System.getProperty("file.separator")
1
9924
* def outputpath = db.outputpath()
1
9925
* eval db.ensureDirectory(outputpath)
1
9926
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9927
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9928
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9929
Given path 'geonetwork/srv/dut/inspire'
0
9930
And param service = 'CSW'
0
9931
And param version = '2.0.2'
0
9932
And param request = 'GetRecordById'
0
9933
And param id = '6d2fce74-fb25-4322-ab25-1be8a3bc7fd0'
1
9934
And param elementsetname = 'full'
0
9935
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9936
When method get
279
9937
Then status 200
0
9938
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6d2fce74-fb25-4322-ab25-1be8a3bc7fd0'
1
9939
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
9940
* def title = get response //citation/CI_Citation/title/CharacterString
0
9941
* def email = get response //electronicMailAddress/CharacterString
0
9942
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
9943
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
9944
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9945
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9946
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9947
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9948
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
9949
* print connectUrl
0
15:15:31.509 [print] https://inspire.caris.nl/geoserver3/bathy_wcs/wcs?request=GetCapabilities&service=WCS&version=2.0.0
9950
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9951
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
9952
* print organisationpath
0
15:15:31.510 [print] Ministerie van Defensie, Koninklijke Marine, Dienst der Hydrografie
9953
* print operateson
0
15:15:31.510 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a322184d-6285-4856-bb78-f450b30ffc0e#MD_DataIdentification
9954
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
9955
* eval db.writeln('"6d2fce74-fb25-4322-ab25-1be8a3bc7fd0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
9956
* eval db.writeln('"6d2fce74-fb25-4322-ab25-1be8a3bc7fd0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
4
Scenario Outline: [1.263:18]62c0d0a5-5826-406d-a625-d84bc5fec800
ms: 280
>>
Background:
9957
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
9958
* def mystorage = Java.type('storage.DataStorage')
1
9959
* def db = new mystorage
1
9960
* def db = db.setfeature(karate.info.featureFileName)
1
9961
* def separator = java.lang.System.getProperty("file.separator")
1
9962
* def outputpath = db.outputpath()
1
9963
* eval db.ensureDirectory(outputpath)
1
9964
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
9965
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
9966
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
9967
Given path 'geonetwork/srv/dut/inspire'
0
9968
And param service = 'CSW'
0
9969
And param version = '2.0.2'
0
9970
And param request = 'GetRecordById'
0
9971
And param id = '62c0d0a5-5826-406d-a625-d84bc5fec800'
0
9972
And param elementsetname = 'full'
0
9973
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
9974
When method get
267
9975
Then status 200
0
9976
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '62c0d0a5-5826-406d-a625-d84bc5fec800'
1
9977
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
9978
* def title = get response //citation/CI_Citation/title/CharacterString
1
9979
* def email = get response //electronicMailAddress/CharacterString
1
9980
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
9981
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
9982
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
9983
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
9984
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
9985
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
9986
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
9987
* print connectUrl
0
15:15:31.546 [print] https://geodata.nationaalgeoregister.nl/noordzeevaarwegmarkeringenrd/wfs?request=GetCapabilities&service=WFS
9988
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
9989
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
9990
* print organisationpath
0
15:15:31.548 [print] Beheer PDOK
9991
* print operateson
1
15:15:31.549 [print] [
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=be1b1514-8d1f-48e1-9624-fee9b784138b#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=db60a314-5583-437d-a2ff-1e59cc57704e#MD_DataIdentification"
]
9992
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
9993
* eval db.writeln('"62c0d0a5-5826-406d-a625-d84bc5fec800","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
9994
* eval db.writeln('"62c0d0a5-5826-406d-a625-d84bc5fec800","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.264:18]a84f9836-9111-4e45-a311-3dab39019e15
ms: 280
>>
Background:
9995
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
9996
* def mystorage = Java.type('storage.DataStorage')
1
9997
* def db = new mystorage
1
9998
* def db = db.setfeature(karate.info.featureFileName)
1
9999
* def separator = java.lang.System.getProperty("file.separator")
1
10000
* def outputpath = db.outputpath()
1
10001
* eval db.ensureDirectory(outputpath)
1
10002
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10003
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10004
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10005
Given path 'geonetwork/srv/dut/inspire'
0
10006
And param service = 'CSW'
0
10007
And param version = '2.0.2'
0
10008
And param request = 'GetRecordById'
0
10009
And param id = 'a84f9836-9111-4e45-a311-3dab39019e15'
0
10010
And param elementsetname = 'full'
0
10011
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10012
When method get
266
10013
Then status 200
0
10014
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a84f9836-9111-4e45-a311-3dab39019e15'
1
10015
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10016
* def title = get response //citation/CI_Citation/title/CharacterString
1
10017
* def email = get response //electronicMailAddress/CharacterString
1
10018
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
10019
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10020
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10021
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
10022
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
10023
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
10024
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
10025
* print connectUrl
0
15:15:31.647 [print] https://geodata.nationaalgeoregister.nl/nl/rws/tn-w/wfs?request=GetCapabilities
10026
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10027
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
10028
* print organisationpath
0
15:15:31.648 [print] Beheer PDOK
10029
* print operateson
0
15:15:31.649 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=eu-2c7040b-c448-451b-bf15-f2416ecaadd1#MD_DataIdentification
10030
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
10031
* eval db.writeln('"a84f9836-9111-4e45-a311-3dab39019e15","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
10032
* eval db.writeln('"a84f9836-9111-4e45-a311-3dab39019e15","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.265:18]tbjk534p-wubf-crbp-cj25-d41611f0gfim
ms: 305
>>
Background:
10033
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
10034
* def mystorage = Java.type('storage.DataStorage')
1
10035
* def db = new mystorage
1
10036
* def db = db.setfeature(karate.info.featureFileName)
1
10037
* def separator = java.lang.System.getProperty("file.separator")
1
10038
* def outputpath = db.outputpath()
1
10039
* eval db.ensureDirectory(outputpath)
1
10040
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10041
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10042
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10043
Given path 'geonetwork/srv/dut/inspire'
0
10044
And param service = 'CSW'
0
10045
And param version = '2.0.2'
0
10046
And param request = 'GetRecordById'
0
10047
And param id = 'tbjk534p-wubf-crbp-cj25-d41611f0gfim'
0
10048
And param elementsetname = 'full'
0
10049
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10050
When method get
292
10051
Then status 200
0
10052
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'tbjk534p-wubf-crbp-cj25-d41611f0gfim'
1
10053
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10054
* def title = get response //citation/CI_Citation/title/CharacterString
1
10055
* def email = get response //electronicMailAddress/CharacterString
1
10056
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
10057
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10058
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10059
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
10060
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
10061
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
10062
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
10063
* print connectUrl
0
15:15:31.703 [print] https://marineprojects.openearth.nl/geoserver/ihm_krm/wfs?service=WFS&version=2.0.0&request=GetCapabilities
10064
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
10065
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
10066
* print organisationpath
0
15:15:31.704 [print] Rijkswaterstaat
10067
* print operateson
0
15:15:31.704 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&ID=tbjk534p-wubf-crbp-cj25-d4161160gfim&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
10068
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
10069
* eval db.writeln('"tbjk534p-wubf-crbp-cj25-d41611f0gfim","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
10070
* eval db.writeln('"tbjk534p-wubf-crbp-cj25-d41611f0gfim","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.266:18]e08079df-6c19-486e-916e-5c9948cfafea
ms: 294
>>
Background:
10071
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
10072
* def mystorage = Java.type('storage.DataStorage')
1
10073
* def db = new mystorage
1
10074
* def db = db.setfeature(karate.info.featureFileName)
1
10075
* def separator = java.lang.System.getProperty("file.separator")
1
10076
* def outputpath = db.outputpath()
1
10077
* eval db.ensureDirectory(outputpath)
1
10078
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10079
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10080
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10081
Given path 'geonetwork/srv/dut/inspire'
0
10082
And param service = 'CSW'
0
10083
And param version = '2.0.2'
0
10084
And param request = 'GetRecordById'
0
10085
And param id = 'e08079df-6c19-486e-916e-5c9948cfafea'
1
10086
And param elementsetname = 'full'
0
10087
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10088
When method get
283
10089
Then status 200
0
10090
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e08079df-6c19-486e-916e-5c9948cfafea'
1
10091
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10092
* def title = get response //citation/CI_Citation/title/CharacterString
1
10093
* def email = get response //electronicMailAddress/CharacterString
1
10094
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
10095
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10096
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10097
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10098
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
10099
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10100
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
10101
* print connectUrl
0
15:15:31.805 [print] https://geodata.nationaalgeoregister.nl/inspire/su-vector/wfs?&request=GetCapabilities&service=WFS
10102
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10103
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
10104
* print organisationpath
0
15:15:31.806 [print] Beheer PDOK
10105
* print operateson
0
15:15:31.806 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=10d1153e-778f-4995-9b6c-7c69b196cccb#MD_DataIdentification
10106
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
10107
* eval db.writeln('"e08079df-6c19-486e-916e-5c9948cfafea","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
10108
* eval db.writeln('"e08079df-6c19-486e-916e-5c9948cfafea","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.267:18]e27e61d8-25b1-45ee-a2df-071312ba8a69
ms: 321
>>
Background:
10109
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
10110
* def mystorage = Java.type('storage.DataStorage')
1
10111
* def db = new mystorage
1
10112
* def db = db.setfeature(karate.info.featureFileName)
1
10113
* def separator = java.lang.System.getProperty("file.separator")
1
10114
* def outputpath = db.outputpath()
1
10115
* eval db.ensureDirectory(outputpath)
1
10116
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10117
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10118
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10119
Given path 'geonetwork/srv/dut/inspire'
0
10120
And param service = 'CSW'
0
10121
And param version = '2.0.2'
0
10122
And param request = 'GetRecordById'
0
10123
And param id = 'e27e61d8-25b1-45ee-a2df-071312ba8a69'
0
10124
And param elementsetname = 'full'
0
10125
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10126
When method get
295
10127
Then status 200
0
10128
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'e27e61d8-25b1-45ee-a2df-071312ba8a69'
0
10129
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10130
* def title = get response //citation/CI_Citation/title/CharacterString
0
10131
* def email = get response //electronicMailAddress/CharacterString
0
10132
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
10133
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10134
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10135
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10136
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10137
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10138
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
10139
* print connectUrl
0
15:15:31.854 [print] https://geodata.nationaalgeoregister.nl/rws/kaderrichtlijnwateractueel/atom/v1_0/index.xml
10140
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10141
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10142
* print organisationpath
0
15:15:31.855 [print] Beheer PDOK
10143
* print operateson
9
15:15:31.863 [print] [
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=622a632a-c57b-44a2-83a4-e51223d5f15g#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2e31680f-68b5-4ff3-94a4-9c24109ffd5e#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krw-f7bb2351-9788-42ea-a58b-a5ee1842304e#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=krw-782cab20-8328-45f1-a9b2-c27d07c14066#MD_DataIdentification"
]
10144
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10145
* eval db.writeln('"e27e61d8-25b1-45ee-a2df-071312ba8a69","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
10146
* eval db.writeln('"e27e61d8-25b1-45ee-a2df-071312ba8a69","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
9
Scenario Outline: [1.268:18]32b1eb9e-c54f-4598-92d2-328eb77fa0d3
ms: 298
>>
Background:
10147
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
10148
* def mystorage = Java.type('storage.DataStorage')
1
10149
* def db = new mystorage
1
10150
* def db = db.setfeature(karate.info.featureFileName)
1
10151
* def separator = java.lang.System.getProperty("file.separator")
1
10152
* def outputpath = db.outputpath()
1
10153
* eval db.ensureDirectory(outputpath)
1
10154
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10155
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10156
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10157
Given path 'geonetwork/srv/dut/inspire'
0
10158
And param service = 'CSW'
0
10159
And param version = '2.0.2'
0
10160
And param request = 'GetRecordById'
0
10161
And param id = '32b1eb9e-c54f-4598-92d2-328eb77fa0d3'
0
10162
And param elementsetname = 'full'
0
10163
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10164
When method get
285
10165
Then status 200
0
10166
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '32b1eb9e-c54f-4598-92d2-328eb77fa0d3'
1
10167
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
10168
* def title = get response //citation/CI_Citation/title/CharacterString
0
10169
* def email = get response //electronicMailAddress/CharacterString
0
10170
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
3
10171
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10172
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10173
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10174
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10175
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10176
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
10177
* print connectUrl
0
15:15:31.946 [print] https://geodata.nationaalgeoregister.nl/natura2000/wfs?request=GetCapabilities
10178
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10179
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10180
* print organisationpath
0
15:15:31.947 [print] Beheer PDOK
10181
* print operateson
0
15:15:31.947 [print] http://nationaalgeoregister.nl/geonetwork/srv/eng/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8829e5dd-c861-4639-a6c8-fdbb6e3440d2#MD_DataIdentification
10182
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10183
* eval db.writeln('"32b1eb9e-c54f-4598-92d2-328eb77fa0d3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
10184
* eval db.writeln('"32b1eb9e-c54f-4598-92d2-328eb77fa0d3","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.269:18]54d2021b-e778-4834-a3c6-75c89d36b942
ms: 301
>>
Background:
10185
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
10186
* def mystorage = Java.type('storage.DataStorage')
1
10187
* def db = new mystorage
1
10188
* def db = db.setfeature(karate.info.featureFileName)
1
10189
* def separator = java.lang.System.getProperty("file.separator")
1
10190
* def outputpath = db.outputpath()
1
10191
* eval db.ensureDirectory(outputpath)
1
10192
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10193
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10194
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10195
Given path 'geonetwork/srv/dut/inspire'
0
10196
And param service = 'CSW'
0
10197
And param version = '2.0.2'
0
10198
And param request = 'GetRecordById'
0
10199
And param id = '54d2021b-e778-4834-a3c6-75c89d36b942'
0
10200
And param elementsetname = 'full'
0
10201
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10202
When method get
288
10203
Then status 200
0
10204
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '54d2021b-e778-4834-a3c6-75c89d36b942'
1
10205
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10206
* def title = get response //citation/CI_Citation/title/CharacterString
1
10207
* def email = get response //electronicMailAddress/CharacterString
1
10208
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
10209
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10210
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10211
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10212
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10213
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10214
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
10215
* print connectUrl
0
15:15:32.003 [print] https://geodata.nationaalgeoregister.nl/tiles/service/wmts?request=GetCapabilities
10216
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10217
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10218
* print organisationpath
0
15:15:32.004 [print] Beheer PDOK
10219
* print operateson
0
15:15:32.004 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2ae3e9b7-aa79-41d4-a35b-c9a0fee69e5c#MD_DataIdentification
10220
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10221
* eval db.writeln('"54d2021b-e778-4834-a3c6-75c89d36b942","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
10222
* eval db.writeln('"54d2021b-e778-4834-a3c6-75c89d36b942","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.270:18]73286af2-d0f4-4a62-9455-86ffa45ef279
ms: 285
>>
Background:
10223
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
10224
* def mystorage = Java.type('storage.DataStorage')
1
10225
* def db = new mystorage
1
10226
* def db = db.setfeature(karate.info.featureFileName)
1
10227
* def separator = java.lang.System.getProperty("file.separator")
1
10228
* def outputpath = db.outputpath()
1
10229
* eval db.ensureDirectory(outputpath)
1
10230
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10231
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10232
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10233
Given path 'geonetwork/srv/dut/inspire'
0
10234
And param service = 'CSW'
0
10235
And param version = '2.0.2'
0
10236
And param request = 'GetRecordById'
0
10237
And param id = '73286af2-d0f4-4a62-9455-86ffa45ef279'
1
10238
And param elementsetname = 'full'
0
10239
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10240
When method get
272
10241
Then status 200
0
10242
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '73286af2-d0f4-4a62-9455-86ffa45ef279'
1
10243
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10244
* def title = get response //citation/CI_Citation/title/CharacterString
0
10245
* def email = get response //electronicMailAddress/CharacterString
0
10246
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
10247
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10248
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10249
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
10250
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
10251
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10252
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
10253
* print connectUrl
0
15:15:32.089 [print] https://www.broinspireservices.nl/wfs/osmrspd-a-v1.0?request=GetCapabilities&service=WFS&version=2.0.0
10254
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
10255
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
10256
* print organisationpath
0
15:15:32.091 [print] TNO Geologische Dienst Nederland
10257
* print operateson
0
15:15:32.091 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=e3b0da1e-0664-4025-b3f5-a54d74a26450&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
10258
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
10259
* eval db.writeln('"73286af2-d0f4-4a62-9455-86ffa45ef279","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
10260
* eval db.writeln('"73286af2-d0f4-4a62-9455-86ffa45ef279","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.271:18]80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a
ms: 296
>>
Background:
10261
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
10262
* def mystorage = Java.type('storage.DataStorage')
1
10263
* def db = new mystorage
1
10264
* def db = db.setfeature(karate.info.featureFileName)
1
10265
* def separator = java.lang.System.getProperty("file.separator")
1
10266
* def outputpath = db.outputpath()
1
10267
* eval db.ensureDirectory(outputpath)
1
10268
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10269
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10270
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10271
Given path 'geonetwork/srv/dut/inspire'
0
10272
And param service = 'CSW'
0
10273
And param version = '2.0.2'
0
10274
And param request = 'GetRecordById'
0
10275
And param id = '80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a'
0
10276
And param elementsetname = 'full'
0
10277
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10278
When method get
286
10279
Then status 200
0
10280
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a'
1
10281
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10282
* def title = get response //citation/CI_Citation/title/CharacterString
1
10283
* def email = get response //electronicMailAddress/CharacterString
0
10284
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
10285
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10286
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10287
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10288
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10289
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10290
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
10291
* print connectUrl
0
15:15:32.166 [print] https://geodata.nationaalgeoregister.nl/ienw/geluidskaartschipholetmaal/v2/wfs?request=GetCapabilities
10292
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10293
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10294
* print organisationpath
0
15:15:32.167 [print] Beheer PDOK
10295
* print operateson
0
15:15:32.167 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=83dab947-387b-49df-8ad2-32bb10d46d38#MD_DataIdentification
10296
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10297
* eval db.writeln('"80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
10298
* eval db.writeln('"80e015fa-f0e1-487e-a7e8-84a5ba7c4e7a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.272:18]94e5b115-bece-4140-99ed-93b8f363948e
ms: 297
>>
Background:
10299
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
10300
* def mystorage = Java.type('storage.DataStorage')
1
10301
* def db = new mystorage
1
10302
* def db = db.setfeature(karate.info.featureFileName)
1
10303
* def separator = java.lang.System.getProperty("file.separator")
1
10304
* def outputpath = db.outputpath()
1
10305
* eval db.ensureDirectory(outputpath)
1
10306
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10307
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10308
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10309
Given path 'geonetwork/srv/dut/inspire'
0
10310
And param service = 'CSW'
0
10311
And param version = '2.0.2'
0
10312
And param request = 'GetRecordById'
0
10313
And param id = '94e5b115-bece-4140-99ed-93b8f363948e'
1
10314
And param elementsetname = 'full'
0
10315
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10316
When method get
277
10317
Then status 200
0
10318
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '94e5b115-bece-4140-99ed-93b8f363948e'
1
10319
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10320
* def title = get response //citation/CI_Citation/title/CharacterString
1
10321
* def email = get response //electronicMailAddress/CharacterString
1
10322
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
10323
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10324
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10325
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10326
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10327
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10328
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
10329
* print connectUrl
0
15:15:32.237 [print] https://geodata.nationaalgeoregister.nl/ahn3/wms?request=GetCapabilities
10330
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10331
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
10332
* print organisationpath
0
15:15:32.238 [print] Beheer PDOK
10333
* print operateson
0
15:15:32.238 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=41daef8b-155e-4608-b49c-c87ea45d931c#MD_DataIdentification
10334
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
10335
* eval db.writeln('"94e5b115-bece-4140-99ed-93b8f363948e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
7
10336
* eval db.writeln('"94e5b115-bece-4140-99ed-93b8f363948e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.273:18]7b8f44b5-6eae-4113-a835-84b8678c3dd5
ms: 292
>>
Background:
10337
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
10338
* def mystorage = Java.type('storage.DataStorage')
1
10339
* def db = new mystorage
1
10340
* def db = db.setfeature(karate.info.featureFileName)
1
10341
* def separator = java.lang.System.getProperty("file.separator")
1
10342
* def outputpath = db.outputpath()
1
10343
* eval db.ensureDirectory(outputpath)
1
10344
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10345
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10346
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10347
Given path 'geonetwork/srv/dut/inspire'
1
10348
And param service = 'CSW'
0
10349
And param version = '2.0.2'
0
10350
And param request = 'GetRecordById'
0
10351
And param id = '7b8f44b5-6eae-4113-a835-84b8678c3dd5'
1
10352
And param elementsetname = 'full'
0
10353
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10354
When method get
282
10355
Then status 200
0
10356
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '7b8f44b5-6eae-4113-a835-84b8678c3dd5'
1
10357
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10358
* def title = get response //citation/CI_Citation/title/CharacterString
1
10359
* def email = get response //electronicMailAddress/CharacterString
0
10360
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
10361
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10362
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10363
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10364
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10365
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10366
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
10367
* print connectUrl
0
15:15:32.298 [print] https://service.pdok.nl/rce/ps-ch/wms/v1_0?request=GetCapabilities&service=WMS
10368
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10369
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10370
* print organisationpath
0
15:15:32.299 [print] Beheer PDOK
10371
* print operateson
0
15:15:32.299 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=493ab81b-75f8-4205-b030-6b2fd9eb4295#MD_DataIdentification
10372
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10373
* eval db.writeln('"7b8f44b5-6eae-4113-a835-84b8678c3dd5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
10374
* eval db.writeln('"7b8f44b5-6eae-4113-a835-84b8678c3dd5","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.274:18]94f241c2-43a2-42c3-8e9e-71976605aa0e
ms: 313
>>
Background:
10375
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
10376
* def mystorage = Java.type('storage.DataStorage')
1
10377
* def db = new mystorage
1
10378
* def db = db.setfeature(karate.info.featureFileName)
1
10379
* def separator = java.lang.System.getProperty("file.separator")
1
10380
* def outputpath = db.outputpath()
1
10381
* eval db.ensureDirectory(outputpath)
1
10382
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10383
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10384
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10385
Given path 'geonetwork/srv/dut/inspire'
0
10386
And param service = 'CSW'
0
10387
And param version = '2.0.2'
0
10388
And param request = 'GetRecordById'
0
10389
And param id = '94f241c2-43a2-42c3-8e9e-71976605aa0e'
1
10390
And param elementsetname = 'full'
0
10391
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10392
When method get
292
10393
Then status 200
0
10394
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '94f241c2-43a2-42c3-8e9e-71976605aa0e'
2
10395
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
2
10396
* def title = get response //citation/CI_Citation/title/CharacterString
2
10397
* def email = get response //electronicMailAddress/CharacterString
1
10398
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
10399
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10400
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10401
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
10402
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
10403
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
10404
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
10405
* print connectUrl
0
15:15:32.403 [print] https://geodata.nationaalgeoregister.nl/top10nlv2/wms?request=GetCapabilities
10406
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
10407
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
10408
* print organisationpath
0
15:15:32.405 [print] Beheer PDOK
10409
* print operateson
0
15:15:32.405 [print] [
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=29d5310f-dd0d-45ba-abad-b4ffc6b8785f#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=af0c582f-9e6b-46e6-865a-fc3a2d5289b9#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=81ff84ec-42a4-4481-840b-12713bbb5d38#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3eebf700-5abf-42e4-826c-03cfb497e366#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=4b282988-cb91-4bbc-b147-f653014917cb#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=0558a41c-b09a-47fa-b8db-9de6bfe4f494#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=9d9f1738-aced-47c9-aaa0-c62474a2dcfb#MD_DataIdentification"
]
10410
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
10411
* eval db.writeln('"94f241c2-43a2-42c3-8e9e-71976605aa0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
10412
* eval db.writeln('"94f241c2-43a2-42c3-8e9e-71976605aa0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.275:18]b196f948-5d87-4eb4-9854-a93841c3877f
ms: 292
>>
Background:
10413
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
10414
* def mystorage = Java.type('storage.DataStorage')
1
10415
* def db = new mystorage
1
10416
* def db = db.setfeature(karate.info.featureFileName)
1
10417
* def separator = java.lang.System.getProperty("file.separator")
1
10418
* def outputpath = db.outputpath()
1
10419
* eval db.ensureDirectory(outputpath)
1
10420
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10421
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10422
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10423
Given path 'geonetwork/srv/dut/inspire'
0
10424
And param service = 'CSW'
0
10425
And param version = '2.0.2'
0
10426
And param request = 'GetRecordById'
0
10427
And param id = 'b196f948-5d87-4eb4-9854-a93841c3877f'
0
10428
And param elementsetname = 'full'
0
10429
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10430
When method get
281
10431
Then status 200
0
10432
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b196f948-5d87-4eb4-9854-a93841c3877f'
1
10433
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10434
* def title = get response //citation/CI_Citation/title/CharacterString
1
10435
* def email = get response //electronicMailAddress/CharacterString
1
10436
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
10437
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10438
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10439
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10440
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10441
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10442
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
10443
* print connectUrl
0
15:15:32.459 [print] https://geodata.nationaalgeoregister.nl/rvo/invasieve-exoten/wms/v1_0?request=GetCapabilities&service=wms
10444
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10445
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10446
* print organisationpath
0
15:15:32.460 [print] Beheer PDOK
10447
* print operateson
0
15:15:32.460 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=3703b249-a0eb-484e-ba7a-10e31a55bcec#MD_DataIdentification
10448
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10449
* eval db.writeln('"b196f948-5d87-4eb4-9854-a93841c3877f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
10450
* eval db.writeln('"b196f948-5d87-4eb4-9854-a93841c3877f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.276:18]03c48a93-1e31-4c69-92c6-9a7efecf67a9
ms: 294
>>
Background:
10451
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
10452
* def mystorage = Java.type('storage.DataStorage')
1
10453
* def db = new mystorage
1
10454
* def db = db.setfeature(karate.info.featureFileName)
1
10455
* def separator = java.lang.System.getProperty("file.separator")
1
10456
* def outputpath = db.outputpath()
1
10457
* eval db.ensureDirectory(outputpath)
1
10458
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10459
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10460
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10461
Given path 'geonetwork/srv/dut/inspire'
1
10462
And param service = 'CSW'
0
10463
And param version = '2.0.2'
0
10464
And param request = 'GetRecordById'
0
10465
And param id = '03c48a93-1e31-4c69-92c6-9a7efecf67a9'
1
10466
And param elementsetname = 'full'
0
10467
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10468
When method get
281
10469
Then status 200
0
10470
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '03c48a93-1e31-4c69-92c6-9a7efecf67a9'
1
10471
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10472
* def title = get response //citation/CI_Citation/title/CharacterString
1
10473
* def email = get response //electronicMailAddress/CharacterString
1
10474
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
10475
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10476
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10477
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
10478
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
10479
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
10480
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
10481
* print connectUrl
0
15:15:32.538 [print] https://geodata.nationaalgeoregister.nl/digitaaltopografischbestand/wfs?
10482
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
10483
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10484
* print organisationpath
0
15:15:32.539 [print] Beheer PDOK
10485
* print operateson
0
15:15:32.539 [print] [
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3229e4d7-4bcd-4b94-819d-8e62de69ce2e",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=c4bed072-0fda-47b8-96fa-457a938b88fc",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=c4b137b8-2317-42c2-aced-204c4216d68d"
]
10486
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10487
* eval db.writeln('"03c48a93-1e31-4c69-92c6-9a7efecf67a9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
10488
* eval db.writeln('"03c48a93-1e31-4c69-92c6-9a7efecf67a9","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.277:18]f39d198a-1e69-43cc-b359-cc60a8c22d28
ms: 284
>>
Background:
10489
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
10490
* def mystorage = Java.type('storage.DataStorage')
1
10491
* def db = new mystorage
1
10492
* def db = db.setfeature(karate.info.featureFileName)
1
10493
* def separator = java.lang.System.getProperty("file.separator")
1
10494
* def outputpath = db.outputpath()
1
10495
* eval db.ensureDirectory(outputpath)
1
10496
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10497
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10498
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10499
Given path 'geonetwork/srv/dut/inspire'
0
10500
And param service = 'CSW'
0
10501
And param version = '2.0.2'
0
10502
And param request = 'GetRecordById'
0
10503
And param id = 'f39d198a-1e69-43cc-b359-cc60a8c22d28'
0
10504
And param elementsetname = 'full'
0
10505
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10506
When method get
273
10507
Then status 200
0
10508
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f39d198a-1e69-43cc-b359-cc60a8c22d28'
1
10509
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
10510
* def title = get response //citation/CI_Citation/title/CharacterString
0
10511
* def email = get response //electronicMailAddress/CharacterString
0
10512
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
10513
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10514
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10515
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10516
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10517
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10518
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
10519
* print connectUrl
0
15:15:32.581 [print] https://inspire.rivm.nl/sos/eaq/service?service=AQD&version=1.0.0&request=GetCapabilities
10520
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10521
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10522
* print organisationpath
0
15:15:32.582 [print] Rijksinstituut voor Volksgezondheid en Milieu
10523
* print operateson
0
15:15:32.583 [print] [
"http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=733559a5-201d-40e5-ad43-d1c7bae84d9f#MD_DataIdentification",
"http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d3c9efd6-fca7-49d6-92bb-5f507abece90#MD_DataIdentification",
"http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=af135cd8-d429-4fc7-b9e3-09e15217520d#MD_DataIdentification",
"http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=b3ec8793-7747-4da0-b6c3-aa384446a586#MD_DataIdentification",
"http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5800f3b0-2ea2-4231-8165-216a7b26867f#MD_DataIdentification",
"http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d8f370e8-123c-4ab3-9410-04f728327ac6#MD_DataIdentification",
"http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=f91c6ad6-62a5-46d0-8a5b-8a62e7a4b833#MD_DataIdentification",
"http://www.nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=500d396f-5ec6-4e4b-a151-5fb3cddd8082#MD_DataIdentification"
]
10524
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10525
* eval db.writeln('"f39d198a-1e69-43cc-b359-cc60a8c22d28","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
10526
* eval db.writeln('"f39d198a-1e69-43cc-b359-cc60a8c22d28","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.278:18]6d23a02b-5a8a-447e-a481-ddb2a085c1fb
ms: 275
>>
Background:
10527
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
10528
* def mystorage = Java.type('storage.DataStorage')
1
10529
* def db = new mystorage
1
10530
* def db = db.setfeature(karate.info.featureFileName)
1
10531
* def separator = java.lang.System.getProperty("file.separator")
1
10532
* def outputpath = db.outputpath()
1
10533
* eval db.ensureDirectory(outputpath)
1
10534
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10535
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10536
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10537
Given path 'geonetwork/srv/dut/inspire'
0
10538
And param service = 'CSW'
0
10539
And param version = '2.0.2'
0
10540
And param request = 'GetRecordById'
0
10541
And param id = '6d23a02b-5a8a-447e-a481-ddb2a085c1fb'
0
10542
And param elementsetname = 'full'
0
10543
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10544
When method get
263
10545
Then status 200
0
10546
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6d23a02b-5a8a-447e-a481-ddb2a085c1fb'
1
10547
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10548
* def title = get response //citation/CI_Citation/title/CharacterString
1
10549
* def email = get response //electronicMailAddress/CharacterString
1
10550
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
10551
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10552
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10553
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
10554
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
10555
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
10556
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
10557
* print connectUrl
0
15:15:32.680 [print] https://geodata.nationaalgeoregister.nl/tiles/service/tms/1.0.0/brtachtergrondkaart/EPSG:28992
10558
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10559
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10560
* print organisationpath
0
15:15:32.681 [print] Beheer PDOK
10561
* print operateson
0
15:15:32.681 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=3373be8c-8539-4763-bc22-eba23ac1898f#MD_DataIdentification
10562
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10563
* eval db.writeln('"6d23a02b-5a8a-447e-a481-ddb2a085c1fb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
10564
* eval db.writeln('"6d23a02b-5a8a-447e-a481-ddb2a085c1fb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.279:18]68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2
ms: 287
>>
Background:
10565
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
10566
* def mystorage = Java.type('storage.DataStorage')
1
10567
* def db = new mystorage
1
10568
* def db = db.setfeature(karate.info.featureFileName)
1
10569
* def separator = java.lang.System.getProperty("file.separator")
1
10570
* def outputpath = db.outputpath()
1
10571
* eval db.ensureDirectory(outputpath)
1
10572
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10573
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10574
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10575
Given path 'geonetwork/srv/dut/inspire'
0
10576
And param service = 'CSW'
0
10577
And param version = '2.0.2'
0
10578
And param request = 'GetRecordById'
0
10579
And param id = '68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2'
0
10580
And param elementsetname = 'full'
0
10581
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10582
When method get
276
10583
Then status 200
0
10584
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2'
1
10585
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10586
* def title = get response //citation/CI_Citation/title/CharacterString
1
10587
* def email = get response //electronicMailAddress/CharacterString
1
10588
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
10589
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10590
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10591
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10592
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10593
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10594
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
10595
* print connectUrl
0
15:15:32.746 [print] https://waterwebservices.rijkswaterstaat.nl/services/distributielaagWFS/distributielaag_dbo?service=WFS&version=1.0.0&request=GetCapabilities
10596
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10597
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
10598
* print organisationpath
0
15:15:32.747 [print] Rijkswaterstaat
10599
* print operateson
0
15:15:32.747 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&VERSION=2.0.2&REQUEST=GetRecordById&ID=68ebd5c9-0ea1-4f22-9907-ec4c063cd3e2&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
10600
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10601
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
10602
* eval db.writeln('"68ebd5c9-0ea1-4f22-9907-ec4c06mcd3e2","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.280:18]bd14098b-44e6-47e5-959d-f40dda65da5a
ms: 275
>>
Background:
10603
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
10604
* def mystorage = Java.type('storage.DataStorage')
1
10605
* def db = new mystorage
1
10606
* def db = db.setfeature(karate.info.featureFileName)
1
10607
* def separator = java.lang.System.getProperty("file.separator")
1
10608
* def outputpath = db.outputpath()
1
10609
* eval db.ensureDirectory(outputpath)
1
10610
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10611
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10612
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10613
Given path 'geonetwork/srv/dut/inspire'
0
10614
And param service = 'CSW'
0
10615
And param version = '2.0.2'
0
10616
And param request = 'GetRecordById'
0
10617
And param id = 'bd14098b-44e6-47e5-959d-f40dda65da5a'
0
10618
And param elementsetname = 'full'
0
10619
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10620
When method get
265
10621
Then status 200
0
10622
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'bd14098b-44e6-47e5-959d-f40dda65da5a'
1
10623
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10624
* def title = get response //citation/CI_Citation/title/CharacterString
0
10625
* def email = get response //electronicMailAddress/CharacterString
0
10626
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
10627
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10628
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10629
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10630
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10631
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10632
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
10633
* print connectUrl
0
15:15:32.814 [print] https://inspire.rivm.nl/geoserver/wms?request=GetCapabilities
10634
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10635
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10636
* print organisationpath
0
15:15:32.815 [print] Rijksinstituut voor Volksgezondheid en Milieu
10637
* print operateson
0
15:15:32.815 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=d9baa847-4652-4588-abe1-0b050f40f27f#MD_DataIdentification
10638
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10639
* eval db.writeln('"bd14098b-44e6-47e5-959d-f40dda65da5a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
10640
* eval db.writeln('"bd14098b-44e6-47e5-959d-f40dda65da5a","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.281:18]f1e26638-3b45-4dd5-9ad0-f7d3654700f1
ms: 313
>>
Background:
10641
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
10642
* def mystorage = Java.type('storage.DataStorage')
1
10643
* def db = new mystorage
1
10644
* def db = db.setfeature(karate.info.featureFileName)
1
10645
* def separator = java.lang.System.getProperty("file.separator")
1
10646
* def outputpath = db.outputpath()
1
10647
* eval db.ensureDirectory(outputpath)
1
10648
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10649
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10650
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10651
Given path 'geonetwork/srv/dut/inspire'
0
10652
And param service = 'CSW'
0
10653
And param version = '2.0.2'
0
10654
And param request = 'GetRecordById'
0
10655
And param id = 'f1e26638-3b45-4dd5-9ad0-f7d3654700f1'
0
10656
And param elementsetname = 'full'
0
10657
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10658
When method get
288
10659
Then status 200
0
10660
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f1e26638-3b45-4dd5-9ad0-f7d3654700f1'
2
10661
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
5
10662
* def title = get response //citation/CI_Citation/title/CharacterString
2
10663
* def email = get response //electronicMailAddress/CharacterString
2
10664
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
2
10665
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
10666
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10667
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
10668
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
10669
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
10670
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
10671
* print connectUrl
0
15:15:32.894 [print] https://geodata.nationaalgeoregister.nl/cbsvierkanten500mv2/wfs?request=GetCapabilities
10672
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
10673
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
10674
* print organisationpath
0
15:15:32.896 [print] Beheer PDOK
10675
* print operateson
0
15:15:32.896 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=f605a24f-60cd-4c40-94c8-2186aba3ddd0#MD_DataIdentification
10676
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
10677
* eval db.writeln('"f1e26638-3b45-4dd5-9ad0-f7d3654700f1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
10678
* eval db.writeln('"f1e26638-3b45-4dd5-9ad0-f7d3654700f1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.282:18]5b40b9b4-fcb2-4553-bcab-34824c43c992
ms: 306
>>
Background:
10679
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
10680
* def mystorage = Java.type('storage.DataStorage')
1
10681
* def db = new mystorage
1
10682
* def db = db.setfeature(karate.info.featureFileName)
1
10683
* def separator = java.lang.System.getProperty("file.separator")
1
10684
* def outputpath = db.outputpath()
1
10685
* eval db.ensureDirectory(outputpath)
1
10686
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10687
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10688
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10689
Given path 'geonetwork/srv/dut/inspire'
0
10690
And param service = 'CSW'
0
10691
And param version = '2.0.2'
0
10692
And param request = 'GetRecordById'
0
10693
And param id = '5b40b9b4-fcb2-4553-bcab-34824c43c992'
1
10694
And param elementsetname = 'full'
0
10695
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10696
When method get
295
10697
Then status 200
0
10698
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5b40b9b4-fcb2-4553-bcab-34824c43c992'
1
10699
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10700
* def title = get response //citation/CI_Citation/title/CharacterString
1
10701
* def email = get response //electronicMailAddress/CharacterString
0
10702
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
10703
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10704
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10705
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10706
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10707
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10708
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
10709
* print connectUrl
0
15:15:32.987 [print] https://geodata.nationaalgeoregister.nl/inspire/ad/wms?request=GetCapabilities
10710
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10711
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10712
* print organisationpath
0
15:15:32.988 [print] Beheer PDOK
10713
* print operateson
0
15:15:32.988 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a5f961e9-ebdd-41e2-b8e8-ab33ed340a83#MD_DataIdentification
10714
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10715
* eval db.writeln('"5b40b9b4-fcb2-4553-bcab-34824c43c992","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
10716
* eval db.writeln('"5b40b9b4-fcb2-4553-bcab-34824c43c992","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.283:18]275b64ab-34c2-41f8-8904-97812c7f716e
ms: 351
>>
Background:
10717
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
10718
* def mystorage = Java.type('storage.DataStorage')
1
10719
* def db = new mystorage
1
10720
* def db = db.setfeature(karate.info.featureFileName)
1
10721
* def separator = java.lang.System.getProperty("file.separator")
1
10722
* def outputpath = db.outputpath()
1
10723
* eval db.ensureDirectory(outputpath)
1
10724
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10725
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10726
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10727
Given path 'geonetwork/srv/dut/inspire'
0
10728
And param service = 'CSW'
0
10729
And param version = '2.0.2'
0
10730
And param request = 'GetRecordById'
0
10731
And param id = '275b64ab-34c2-41f8-8904-97812c7f716e'
0
10732
And param elementsetname = 'full'
0
10733
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10734
When method get
339
10735
Then status 200
0
10736
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '275b64ab-34c2-41f8-8904-97812c7f716e'
1
10737
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10738
* def title = get response //citation/CI_Citation/title/CharacterString
1
10739
* def email = get response //electronicMailAddress/CharacterString
1
10740
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
10741
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10742
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10743
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10744
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10745
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10746
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
10747
* print connectUrl
0
15:15:33.097 [print] https://geodata.nationaalgeoregister.nl/inspire/ps-rvo-wl/wms?request=GetCapabilities
10748
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10749
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10750
* print organisationpath
0
15:15:33.098 [print] Beheer PDOK
10751
* print operateson
0
15:15:33.098 [print] https://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=19165027-a13a-4c19-9013-ec1fd191019d#MD_DataIdentification
10752
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10753
* eval db.writeln('"275b64ab-34c2-41f8-8904-97812c7f716e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
10754
* eval db.writeln('"275b64ab-34c2-41f8-8904-97812c7f716e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.284:18]027e3f15-3b58-4570-97bb-779ce3ca947e
ms: 329
>>
Background:
10755
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
10756
* def mystorage = Java.type('storage.DataStorage')
1
10757
* def db = new mystorage
1
10758
* def db = db.setfeature(karate.info.featureFileName)
1
10759
* def separator = java.lang.System.getProperty("file.separator")
1
10760
* def outputpath = db.outputpath()
1
10761
* eval db.ensureDirectory(outputpath)
1
10762
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10763
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10764
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10765
Given path 'geonetwork/srv/dut/inspire'
0
10766
And param service = 'CSW'
0
10767
And param version = '2.0.2'
0
10768
And param request = 'GetRecordById'
0
10769
And param id = '027e3f15-3b58-4570-97bb-779ce3ca947e'
0
10770
And param elementsetname = 'full'
0
10771
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10772
When method get
317
10773
Then status 200
0
10774
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '027e3f15-3b58-4570-97bb-779ce3ca947e'
1
10775
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10776
* def title = get response //citation/CI_Citation/title/CharacterString
1
10777
* def email = get response //electronicMailAddress/CharacterString
1
10778
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
10779
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10780
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10781
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10782
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
10783
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
10784
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
10785
* print connectUrl
0
15:15:33.144 [print] https://geodata.nationaalgeoregister.nl/wijkenbuurten2019/wfs?service=WFS&request=GetCapabilities
10786
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
10787
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
10788
* print organisationpath
0
15:15:33.145 [print] Beheer PDOK
10789
* print operateson
0
15:15:33.145 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5c37d29a-006d-4136-8989-adfc35a1d4a7#MD_DataIdentification
10790
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
10791
* eval db.writeln('"027e3f15-3b58-4570-97bb-779ce3ca947e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
10792
* eval db.writeln('"027e3f15-3b58-4570-97bb-779ce3ca947e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.285:18]684ff4f6-1652-45a8-93f0-8e16d37b2a66
ms: 281
>>
Background:
10793
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
10794
* def mystorage = Java.type('storage.DataStorage')
1
10795
* def db = new mystorage
1
10796
* def db = db.setfeature(karate.info.featureFileName)
1
10797
* def separator = java.lang.System.getProperty("file.separator")
1
10798
* def outputpath = db.outputpath()
1
10799
* eval db.ensureDirectory(outputpath)
1
10800
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10801
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10802
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10803
Given path 'geonetwork/srv/dut/inspire'
0
10804
And param service = 'CSW'
0
10805
And param version = '2.0.2'
0
10806
And param request = 'GetRecordById'
0
10807
And param id = '684ff4f6-1652-45a8-93f0-8e16d37b2a66'
0
10808
And param elementsetname = 'full'
0
10809
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10810
When method get
272
10811
Then status 200
0
10812
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '684ff4f6-1652-45a8-93f0-8e16d37b2a66'
0
10813
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
10814
* def title = get response //citation/CI_Citation/title/CharacterString
0
10815
* def email = get response //electronicMailAddress/CharacterString
0
10816
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
10817
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10818
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10819
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10820
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10821
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10822
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
10823
* print connectUrl
0
15:15:33.178 [print] https://geodata.nationaalgeoregister.nl/hwh/eenheden/wms/v1_0?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities
10824
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10825
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10826
* print organisationpath
0
15:15:33.179 [print] Beheer PDOK
10827
* print operateson
0
15:15:33.179 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2d4ec7e6-50ae-4c71-bd20-5b9211e2135f#MD_DataIdentification
10828
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10829
* eval db.writeln('"684ff4f6-1652-45a8-93f0-8e16d37b2a66","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
10830
* eval db.writeln('"684ff4f6-1652-45a8-93f0-8e16d37b2a66","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.286:18]82541a1f-2e4e-459f-ab2f-e97cac3ad040
ms: 401
>>
Background:
10831
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
10832
* def mystorage = Java.type('storage.DataStorage')
1
10833
* def db = new mystorage
1
10834
* def db = db.setfeature(karate.info.featureFileName)
1
10835
* def separator = java.lang.System.getProperty("file.separator")
1
10836
* def outputpath = db.outputpath()
1
10837
* eval db.ensureDirectory(outputpath)
1
10838
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10839
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10840
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10841
Given path 'geonetwork/srv/dut/inspire'
0
10842
And param service = 'CSW'
0
10843
And param version = '2.0.2'
0
10844
And param request = 'GetRecordById'
0
10845
And param id = '82541a1f-2e4e-459f-ab2f-e97cac3ad040'
0
10846
And param elementsetname = 'full'
0
10847
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10848
When method get
300
10849
Then status 200
0
10850
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '82541a1f-2e4e-459f-ab2f-e97cac3ad040'
3
10851
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
3
10852
* def title = get response //citation/CI_Citation/title/CharacterString
2
10853
* def email = get response //electronicMailAddress/CharacterString
2
10854
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
2
10855
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
2
10856
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10857
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
10858
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
71
10859
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
3
10860
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
10861
* print connectUrl
0
15:15:33.383 [print] https://geodata.nationaalgeoregister.nl/habitatrichtlijnverspreidingsgebiedtypen/wfs?request=GetCapabilities
10862
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
10863
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
2
10864
* print organisationpath
0
15:15:33.387 [print] Beheer PDOK
10865
* print operateson
0
15:15:33.387 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=03671a9e-6aaf-464d-be99-9aad25cef9e3#MD_DataIdentification
10866
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
2
10867
* eval db.writeln('"82541a1f-2e4e-459f-ab2f-e97cac3ad040","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
10868
* eval db.writeln('"82541a1f-2e4e-459f-ab2f-e97cac3ad040","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.287:18]b87a0095-2ad7-4dbb-81a1-fed060df79e1
ms: 323
>>
Background:
10869
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
10870
* def mystorage = Java.type('storage.DataStorage')
1
10871
* def db = new mystorage
1
10872
* def db = db.setfeature(karate.info.featureFileName)
1
10873
* def separator = java.lang.System.getProperty("file.separator")
1
10874
* def outputpath = db.outputpath()
1
10875
* eval db.ensureDirectory(outputpath)
1
10876
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10877
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10878
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10879
Given path 'geonetwork/srv/dut/inspire'
0
10880
And param service = 'CSW'
0
10881
And param version = '2.0.2'
0
10882
And param request = 'GetRecordById'
0
10883
And param id = 'b87a0095-2ad7-4dbb-81a1-fed060df79e1'
0
10884
And param elementsetname = 'full'
0
10885
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10886
When method get
315
10887
Then status 200
0
10888
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'b87a0095-2ad7-4dbb-81a1-fed060df79e1'
0
10889
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
10890
* def title = get response //citation/CI_Citation/title/CharacterString
0
10891
* def email = get response //electronicMailAddress/CharacterString
0
10892
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
10893
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
10894
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10895
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10896
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10897
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10898
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
10899
* print connectUrl
0
15:15:33.422 [print] https://geodata.nationaalgeoregister.nl/nationaleparken/wfs?request=GetCapabilities&service=wfs
10900
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10901
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
10902
* print organisationpath
0
15:15:33.423 [print] Beheer PDOK
10903
* print operateson
0
15:15:33.423 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=4961d305-fbb5-426a-9ba3-53e1ca5f3b18
10904
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10905
* eval db.writeln('"b87a0095-2ad7-4dbb-81a1-fed060df79e1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
10906
* eval db.writeln('"b87a0095-2ad7-4dbb-81a1-fed060df79e1","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.288:18]f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8
ms: 301
>>
Background:
10907
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
10908
* def mystorage = Java.type('storage.DataStorage')
1
10909
* def db = new mystorage
1
10910
* def db = db.setfeature(karate.info.featureFileName)
1
10911
* def separator = java.lang.System.getProperty("file.separator")
1
10912
* def outputpath = db.outputpath()
1
10913
* eval db.ensureDirectory(outputpath)
1
10914
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10915
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10916
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10917
Given path 'geonetwork/srv/dut/inspire'
0
10918
And param service = 'CSW'
0
10919
And param version = '2.0.2'
0
10920
And param request = 'GetRecordById'
0
10921
And param id = 'f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8'
0
10922
And param elementsetname = 'full'
0
10923
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10924
When method get
291
10925
Then status 200
0
10926
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8'
1
10927
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
10928
* def title = get response //citation/CI_Citation/title/CharacterString
1
10929
* def email = get response //electronicMailAddress/CharacterString
0
10930
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
10931
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10932
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10933
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10934
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
10935
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
10936
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
10937
* print connectUrl
0
15:15:33.446 [print] https://geodata.nationaalgeoregister.nl/nwbwegen/wms?request=GetCapabilities
10938
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10939
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
10940
* print organisationpath
0
15:15:33.447 [print] Beheer PDOK
10941
* print operateson
0
15:15:33.447 [print] [
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=2e5f0f60-0f2f-4e17-96af-c913fe305ecb#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=8f0497f0-dbd7-4bee-b85a-5fdec484a7ff#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=a9b7026e-0a81-4813-93bd-ba49e6f28502#MD_DataIdentification"
]
10942
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
10943
* eval db.writeln('"f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
10944
* eval db.writeln('"f2437a92-ddd3-4777-a1bc-fdf4b4a7fcb8","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.289:18]037e55bd-a1dc-4fde-adfe-4610d3a3d5cb
ms: 311
>>
Background:
10945
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
10946
* def mystorage = Java.type('storage.DataStorage')
1
10947
* def db = new mystorage
1
10948
* def db = db.setfeature(karate.info.featureFileName)
1
10949
* def separator = java.lang.System.getProperty("file.separator")
1
10950
* def outputpath = db.outputpath()
1
10951
* eval db.ensureDirectory(outputpath)
1
10952
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10953
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10954
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10955
Given path 'geonetwork/srv/dut/inspire'
0
10956
And param service = 'CSW'
0
10957
And param version = '2.0.2'
0
10958
And param request = 'GetRecordById'
0
10959
And param id = '037e55bd-a1dc-4fde-adfe-4610d3a3d5cb'
1
10960
And param elementsetname = 'full'
0
10961
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
10962
When method get
300
10963
Then status 200
0
10964
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '037e55bd-a1dc-4fde-adfe-4610d3a3d5cb'
0
10965
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
10966
* def title = get response //citation/CI_Citation/title/CharacterString
1
10967
* def email = get response //electronicMailAddress/CharacterString
1
10968
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
10969
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
10970
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
10971
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
10972
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
10973
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
10974
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
10975
* print connectUrl
0
15:15:33.489 [print] https://service.pdok.nl/cbs/pd/atom/v1_0/index.xml
10976
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
10977
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
10978
* print organisationpath
0
15:15:33.490 [print] Beheer PDOK
10979
* print operateson
0
15:15:33.490 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=76541ebb-a554-4540-a017-399d4bb4a860#MD_DataIdentification
10980
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
10981
* eval db.writeln('"037e55bd-a1dc-4fde-adfe-4610d3a3d5cb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
10982
* eval db.writeln('"037e55bd-a1dc-4fde-adfe-4610d3a3d5cb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.290:18]9e2e977a-16a6-42a4-a208-c4f70704f383
ms: 288
>>
Background:
10983
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
10984
* def mystorage = Java.type('storage.DataStorage')
1
10985
* def db = new mystorage
1
10986
* def db = db.setfeature(karate.info.featureFileName)
1
10987
* def separator = java.lang.System.getProperty("file.separator")
1
10988
* def outputpath = db.outputpath()
1
10989
* eval db.ensureDirectory(outputpath)
1
10990
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
10991
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
10992
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
10993
Given path 'geonetwork/srv/dut/inspire'
1
10994
And param service = 'CSW'
0
10995
And param version = '2.0.2'
0
10996
And param request = 'GetRecordById'
0
10997
And param id = '9e2e977a-16a6-42a4-a208-c4f70704f383'
1
10998
And param elementsetname = 'full'
0
10999
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
11000
When method get
277
11001
Then status 200
0
11002
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9e2e977a-16a6-42a4-a208-c4f70704f383'
1
11003
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
11004
* def title = get response //citation/CI_Citation/title/CharacterString
1
11005
* def email = get response //electronicMailAddress/CharacterString
1
11006
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
11007
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
11008
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
11009
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
11010
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
11011
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
11012
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
11013
* print connectUrl
0
15:15:33.677 [print] https://geodata.nationaalgeoregister.nl/bag/wms/v1_1?request=getCapabilities&service=WMS
11014
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
11015
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
11016
* print organisationpath
0
15:15:33.679 [print] Beheer PDOK
11017
* print operateson
0
15:15:33.679 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=aa3b5e6e-7baa-40c0-8972-3353e927ec2f#MD_DataIdentification
11018
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
11019
* eval db.writeln('"9e2e977a-16a6-42a4-a208-c4f70704f383","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
11020
* eval db.writeln('"9e2e977a-16a6-42a4-a208-c4f70704f383","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.291:18]40f04047-3b61-40eb-b026-c1a0caa71881
ms: 313
>>
Background:
11021
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
11022
* def mystorage = Java.type('storage.DataStorage')
1
11023
* def db = new mystorage
1
11024
* def db = db.setfeature(karate.info.featureFileName)
1
11025
* def separator = java.lang.System.getProperty("file.separator")
1
11026
* def outputpath = db.outputpath()
1
11027
* eval db.ensureDirectory(outputpath)
1
11028
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
11029
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
11030
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
11031
Given path 'geonetwork/srv/dut/inspire'
0
11032
And param service = 'CSW'
0
11033
And param version = '2.0.2'
0
11034
And param request = 'GetRecordById'
0
11035
And param id = '40f04047-3b61-40eb-b026-c1a0caa71881'
1
11036
And param elementsetname = 'full'
0
11037
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
11038
When method get
298
11039
Then status 200
0
11040
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '40f04047-3b61-40eb-b026-c1a0caa71881'
1
11041
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
11042
* def title = get response //citation/CI_Citation/title/CharacterString
1
11043
* def email = get response //electronicMailAddress/CharacterString
1
11044
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
11045
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
11046
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
11047
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
11048
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
11049
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
11050
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
11051
* print connectUrl
0
15:15:33.734 [print] https://geodata.nationaalgeoregister.nl/reststromen/wfs?request=GetCapabilities
11052
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
11053
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
11054
* print organisationpath
0
15:15:33.736 [print] Beheer PDOK
11055
* print operateson
0
15:15:33.736 [print] [
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=11d83e36-fd0d-46bc-838c-0567c5dfdb19#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=34dacd72-d2fb-4e28-844d-73d3b9c3fef2#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=419b85e5-04ee-4cc9-b910-bc58594a943a#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=119f7512-a71e-4d1a-82e7-7a2b63f9338b#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6ea55ec4-f312-40ef-9935-68806e61b496#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=af784610-df36-4d40-bac0-23d8e728999f#MD_DataIdentification",
"http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=24eb504e-f5f3-4ecf-b760-cc5630e82a57#MD_DataIdentification"
]
11056
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
11057
* eval db.writeln('"40f04047-3b61-40eb-b026-c1a0caa71881","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
11058
* eval db.writeln('"40f04047-3b61-40eb-b026-c1a0caa71881","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.292:18]54122631-d343-40be-9c28-e44626b37a0e
ms: 304
>>
Background:
11059
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
11060
* def mystorage = Java.type('storage.DataStorage')
1
11061
* def db = new mystorage
1
11062
* def db = db.setfeature(karate.info.featureFileName)
1
11063
* def separator = java.lang.System.getProperty("file.separator")
1
11064
* def outputpath = db.outputpath()
1
11065
* eval db.ensureDirectory(outputpath)
1
11066
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
11067
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
11068
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
11069
Given path 'geonetwork/srv/dut/inspire'
0
11070
And param service = 'CSW'
0
11071
And param version = '2.0.2'
0
11072
And param request = 'GetRecordById'
0
11073
And param id = '54122631-d343-40be-9c28-e44626b37a0e'
0
11074
And param elementsetname = 'full'
0
11075
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
11076
When method get
296
11077
Then status 200
0
11078
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '54122631-d343-40be-9c28-e44626b37a0e'
0
11079
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
11080
* def title = get response //citation/CI_Citation/title/CharacterString
0
11081
* def email = get response //electronicMailAddress/CharacterString
0
11082
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
11083
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
11084
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
11085
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
11086
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
11087
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
11088
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
11089
* print connectUrl
0
15:15:33.751 [print] https://service.pdok.nl/cbs/hh/atom/v1_0/index.xml
11090
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
11091
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
11092
* print organisationpath
0
15:15:33.752 [print] Beheer PDOK
11093
* print operateson
0
15:15:33.752 [print] https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=12bb57cd-73e0-41ba-a1e9-6d986b9109d3&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
11094
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
11095
* eval db.writeln('"54122631-d343-40be-9c28-e44626b37a0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
11096
* eval db.writeln('"54122631-d343-40be-9c28-e44626b37a0e","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.293:18]a1ed8a00-da07-472e-9627-99175d437c94
ms: 304
>>
Background:
11097
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
11098
* def mystorage = Java.type('storage.DataStorage')
1
11099
* def db = new mystorage
1
11100
* def db = db.setfeature(karate.info.featureFileName)
1
11101
* def separator = java.lang.System.getProperty("file.separator")
1
11102
* def outputpath = db.outputpath()
1
11103
* eval db.ensureDirectory(outputpath)
1
11104
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
11105
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
11106
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
11107
Given path 'geonetwork/srv/dut/inspire'
0
11108
And param service = 'CSW'
0
11109
And param version = '2.0.2'
0
11110
And param request = 'GetRecordById'
0
11111
And param id = 'a1ed8a00-da07-472e-9627-99175d437c94'
0
11112
And param elementsetname = 'full'
0
11113
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
11114
When method get
293
11115
Then status 200
0
11116
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a1ed8a00-da07-472e-9627-99175d437c94'
1
11117
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
11118
* def title = get response //citation/CI_Citation/title/CharacterString
1
11119
* def email = get response //electronicMailAddress/CharacterString
1
11120
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
11121
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
11122
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
11123
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
11124
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
11125
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
11126
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
11127
* print connectUrl
0
15:15:33.794 [print] https://geodata.nationaalgeoregister.nl/ienw/geluidskaartschipholetmaal/v2/wms?request=GetCapabilities
11128
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
11129
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
11130
* print organisationpath
0
15:15:33.795 [print] Beheer PDOK
11131
* print operateson
0
15:15:33.795 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=83dab947-387b-49df-8ad2-32bb10d46d38#MD_DataIdentification
11132
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
11133
* eval db.writeln('"a1ed8a00-da07-472e-9627-99175d437c94","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
11134
* eval db.writeln('"a1ed8a00-da07-472e-9627-99175d437c94","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.294:18]5471a93b-cf18-43f5-9ddb-71987857435d
ms: 297
>>
Background:
11135
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
11136
* def mystorage = Java.type('storage.DataStorage')
1
11137
* def db = new mystorage
1
11138
* def db = db.setfeature(karate.info.featureFileName)
1
11139
* def separator = java.lang.System.getProperty("file.separator")
1
11140
* def outputpath = db.outputpath()
1
11141
* eval db.ensureDirectory(outputpath)
1
11142
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
11143
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
11144
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
11145
Given path 'geonetwork/srv/dut/inspire'
0
11146
And param service = 'CSW'
0
11147
And param version = '2.0.2'
0
11148
And param request = 'GetRecordById'
0
11149
And param id = '5471a93b-cf18-43f5-9ddb-71987857435d'
0
11150
And param elementsetname = 'full'
0
11151
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
11152
When method get
277
11153
Then status 200
0
11154
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '5471a93b-cf18-43f5-9ddb-71987857435d'
1
11155
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
11156
* def title = get response //citation/CI_Citation/title/CharacterString
1
11157
* def email = get response //electronicMailAddress/CharacterString
1
11158
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
11159
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
11160
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
11161
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
11162
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
11163
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
11164
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
11165
* print connectUrl
0
15:15:33.967 [print] https://www.broinspireservices.nl/wfs/oshhgqm-a-v1.0?request=GetCapabilities&service=WFS&version=2.0.0
11166
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
11167
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
11168
* print organisationpath
0
15:15:33.968 [print] TNO Geologische Dienst Nederland
11169
* print operateson
0
15:15:33.968 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/inspire?SERVICE=CSW&version=2.0.2&REQUEST=GetRecordById&ID=6050578f-0010-4bfa-b013-c8617b80ba62&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full#MD_DataIdentification
11170
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
11171
* eval db.writeln('"5471a93b-cf18-43f5-9ddb-71987857435d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
11172
* eval db.writeln('"5471a93b-cf18-43f5-9ddb-71987857435d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
10
Scenario Outline: [1.295:18]d94b1eca-8a7d-4dc4-b979-36257878758f
ms: 299
>>
Background:
11173
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
11174
* def mystorage = Java.type('storage.DataStorage')
1
11175
* def db = new mystorage
1
11176
* def db = db.setfeature(karate.info.featureFileName)
1
11177
* def separator = java.lang.System.getProperty("file.separator")
1
11178
* def outputpath = db.outputpath()
1
11179
* eval db.ensureDirectory(outputpath)
1
11180
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
11181
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
11182
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
11183
Given path 'geonetwork/srv/dut/inspire'
0
11184
And param service = 'CSW'
0
11185
And param version = '2.0.2'
0
11186
And param request = 'GetRecordById'
0
11187
And param id = 'd94b1eca-8a7d-4dc4-b979-36257878758f'
1
11188
And param elementsetname = 'full'
0
11189
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
11190
When method get
285
11191
Then status 200
0
11192
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'd94b1eca-8a7d-4dc4-b979-36257878758f'
1
11193
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
11194
* def title = get response //citation/CI_Citation/title/CharacterString
1
11195
* def email = get response //electronicMailAddress/CharacterString
1
11196
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
11197
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
11198
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
11199
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
11200
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
11201
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
11202
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
11203
* print connectUrl
0
15:15:34.034 [print] https://geodata.nationaalgeoregister.nl/cbsgebiedsindelingen/wfs?request=GetCapabilities
11204
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
11205
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
11206
* print organisationpath
0
15:15:34.035 [print] PDOK
11207
* print operateson
0
15:15:34.035 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification
11208
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
11209
* eval db.writeln('"d94b1eca-8a7d-4dc4-b979-36257878758f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
11210
* eval db.writeln('"d94b1eca-8a7d-4dc4-b979-36257878758f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.296:18]6d86c14f-cccf-41e9-a58e-ead9d52ae35d
ms: 324
>>
Background:
11211
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
11212
* def mystorage = Java.type('storage.DataStorage')
1
11213
* def db = new mystorage
1
11214
* def db = db.setfeature(karate.info.featureFileName)
1
11215
* def separator = java.lang.System.getProperty("file.separator")
1
11216
* def outputpath = db.outputpath()
1
11217
* eval db.ensureDirectory(outputpath)
1
11218
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
11219
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
11220
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
11221
Given path 'geonetwork/srv/dut/inspire'
0
11222
And param service = 'CSW'
0
11223
And param version = '2.0.2'
0
11224
And param request = 'GetRecordById'
0
11225
And param id = '6d86c14f-cccf-41e9-a58e-ead9d52ae35d'
0
11226
And param elementsetname = 'full'
0
11227
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
11228
When method get
316
11229
Then status 200
0
11230
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '6d86c14f-cccf-41e9-a58e-ead9d52ae35d'
0
11231
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
0
11232
* def title = get response //citation/CI_Citation/title/CharacterString
0
11233
* def email = get response //electronicMailAddress/CharacterString
0
11234
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
11235
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
11236
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
11237
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
11238
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
11239
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
11240
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
11241
* print connectUrl
0
15:15:34.076 [print] http://data.waterkwaliteitsportaal.nl/inspire/vs/AM
11242
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
11243
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
11244
* print organisationpath
0
15:15:34.077 [print] Informatiehuis Water
11245
* print operateson
0
15:15:34.077 [print] http://www.nationaalgeoregister.nl/geonetwork/srv/nl/csw?Service=CSW&Request=GetRecordById&Version=2.0.2&id=110f9ec6-4464-462e-9765-83d90cefbeab&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full
11246
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
11247
* eval db.writeln('"6d86c14f-cccf-41e9-a58e-ead9d52ae35d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
11248
* eval db.writeln('"6d86c14f-cccf-41e9-a58e-ead9d52ae35d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.297:18]488c1e6d-363e-4476-b2ff-17756ac9b35f
ms: 320
>>
Background:
11249
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
11250
* def mystorage = Java.type('storage.DataStorage')
1
11251
* def db = new mystorage
1
11252
* def db = db.setfeature(karate.info.featureFileName)
1
11253
* def separator = java.lang.System.getProperty("file.separator")
1
11254
* def outputpath = db.outputpath()
1
11255
* eval db.ensureDirectory(outputpath)
1
11256
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
11257
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
11258
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
11259
Given path 'geonetwork/srv/dut/inspire'
0
11260
And param service = 'CSW'
0
11261
And param version = '2.0.2'
0
11262
And param request = 'GetRecordById'
0
11263
And param id = '488c1e6d-363e-4476-b2ff-17756ac9b35f'
1
11264
And param elementsetname = 'full'
0
11265
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
11266
When method get
306
11267
Then status 200
0
11268
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '488c1e6d-363e-4476-b2ff-17756ac9b35f'
1
11269
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
11270
* def title = get response //citation/CI_Citation/title/CharacterString
1
11271
* def email = get response //electronicMailAddress/CharacterString
1
11272
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
11273
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
11274
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
11275
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
11276
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
11277
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
11278
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
11279
* print connectUrl
0
15:15:34.114 [print] https://geodata.nationaalgeoregister.nl/cbsgebiedsindelingen/wms?request=GetCapabilities
11280
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
11281
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
11282
* print organisationpath
0
15:15:34.115 [print] Beheer PDOK
11283
* print operateson
0
15:15:34.115 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=effe1ab0-073d-437c-af13-df5c5e07d6cd#MD_DataIdentification
11284
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
11285
* eval db.writeln('"488c1e6d-363e-4476-b2ff-17756ac9b35f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
11286
* eval db.writeln('"488c1e6d-363e-4476-b2ff-17756ac9b35f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.298:18]ac3a9efe-2154-4a4c-aae3-ea269044945d
ms: 288
>>
Background:
11287
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
11288
* def mystorage = Java.type('storage.DataStorage')
1
11289
* def db = new mystorage
1
11290
* def db = db.setfeature(karate.info.featureFileName)
1
11291
* def separator = java.lang.System.getProperty("file.separator")
1
11292
* def outputpath = db.outputpath()
1
11293
* eval db.ensureDirectory(outputpath)
1
11294
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
11295
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
11296
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
11297
Given path 'geonetwork/srv/dut/inspire'
0
11298
And param service = 'CSW'
0
11299
And param version = '2.0.2'
0
11300
And param request = 'GetRecordById'
0
11301
And param id = 'ac3a9efe-2154-4a4c-aae3-ea269044945d'
1
11302
And param elementsetname = 'full'
0
11303
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
11304
When method get
278
11305
Then status 200
0
11306
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'ac3a9efe-2154-4a4c-aae3-ea269044945d'
1
11307
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
11308
* def title = get response //citation/CI_Citation/title/CharacterString
0
11309
* def email = get response //electronicMailAddress/CharacterString
0
11310
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
0
11311
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
11312
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
11313
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
11314
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
11315
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
11316
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
11317
* print connectUrl
0
15:15:34.264 [print] https://geodata.nationaalgeoregister.nl/bzk/bro-bodemkaart/wms/v1_0?request=GetCapabilities&service=wms
11318
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
11319
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
11320
* print organisationpath
0
15:15:34.265 [print] Beheer PDOK
11321
* print operateson
0
15:15:34.265 [print] https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=ed960299-a147-4c1a-bc57-41ff83a2264f#MD_DataIdentification
11322
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
11323
* eval db.writeln('"ac3a9efe-2154-4a4c-aae3-ea269044945d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
11324
* eval db.writeln('"ac3a9efe-2154-4a4c-aae3-ea269044945d","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.299:18]9c80458b-12c6-4d38-8f6d-387ab6e4ed21
ms: 284
>>
Background:
11325
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
11326
* def mystorage = Java.type('storage.DataStorage')
1
11327
* def db = new mystorage
1
11328
* def db = db.setfeature(karate.info.featureFileName)
1
11329
* def separator = java.lang.System.getProperty("file.separator")
1
11330
* def outputpath = db.outputpath()
1
11331
* eval db.ensureDirectory(outputpath)
1
11332
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
11333
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
11334
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
11335
Given path 'geonetwork/srv/dut/inspire'
0
11336
And param service = 'CSW'
0
11337
And param version = '2.0.2'
0
11338
And param request = 'GetRecordById'
0
11339
And param id = '9c80458b-12c6-4d38-8f6d-387ab6e4ed21'
0
11340
And param elementsetname = 'full'
0
11341
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
11342
When method get
271
11343
Then status 200
0
11344
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '9c80458b-12c6-4d38-8f6d-387ab6e4ed21'
1
11345
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
11346
* def title = get response //citation/CI_Citation/title/CharacterString
1
11347
* def email = get response //electronicMailAddress/CharacterString
1
11348
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
11349
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
11350
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
11351
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
11352
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
11353
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
11354
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
11355
* print connectUrl
0
15:15:34.319 [print] https://geodata.nationaalgeoregister.nl/natura2000/wms?request=GetCapabilities
11356
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
11357
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
11358
* print organisationpath
0
15:15:34.321 [print] Beheer PDOK
11359
* print operateson
0
15:15:34.321 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=8829e5dd-c861-4639-a6c8-fdbb6e3440d2#MD_DataIdentification
11360
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
11361
* eval db.writeln('"9c80458b-12c6-4d38-8f6d-387ab6e4ed21","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
11362
* eval db.writeln('"9c80458b-12c6-4d38-8f6d-387ab6e4ed21","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.300:18]wt-f297898-2640-44c2-bbe9-c0480df83794
ms: 301
>>
Background:
11363
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
11364
* def mystorage = Java.type('storage.DataStorage')
1
11365
* def db = new mystorage
1
11366
* def db = db.setfeature(karate.info.featureFileName)
1
11367
* def separator = java.lang.System.getProperty("file.separator")
1
11368
* def outputpath = db.outputpath()
1
11369
* eval db.ensureDirectory(outputpath)
1
11370
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
11371
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
11372
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
11373
Given path 'geonetwork/srv/dut/inspire'
0
11374
And param service = 'CSW'
0
11375
And param version = '2.0.2'
0
11376
And param request = 'GetRecordById'
0
11377
And param id = 'wt-f297898-2640-44c2-bbe9-c0480df83794'
0
11378
And param elementsetname = 'full'
0
11379
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
11380
When method get
286
11381
Then status 200
0
11382
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'wt-f297898-2640-44c2-bbe9-c0480df83794'
1
11383
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
11384
* def title = get response //citation/CI_Citation/title/CharacterString
1
11385
* def email = get response //electronicMailAddress/CharacterString
1
11386
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
11387
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
11388
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
11389
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
11390
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
11391
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
11392
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
11393
* print connectUrl
0
15:15:34.373 [print] https://haleconnect.com/ows/services/org.292.c3955762-73a3-4c16-a15c-f3869487a1e3_wfs?service=WFS&version=2.0.0&request=GetCapabilities
11394
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
1
11395
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
11396
* print organisationpath
0
15:15:34.375 [print] Rijkswaterstaat
11397
* print operateson
0
15:15:34.375 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=csw&VERSION=2.0.2&REQUEST=GetRecordById&OUTPUTSCHEMA=http://www.isotc211.org/2005/gmd&ELEMENTSETNAME=full&ID=eu-f297898-2640-44c2-bbe9-c0480da83794#MD_DataIdentification
11398
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
11399
* eval db.writeln('"wt-f297898-2640-44c2-bbe9-c0480df83794","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
3
11400
* eval db.writeln('"wt-f297898-2640-44c2-bbe9-c0480df83794","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
3
Scenario Outline: [1.301:18]a301ddc7-c26f-42d8-b367-509ae5ae47d0
ms: 298
>>
Background:
11401
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
11402
* def mystorage = Java.type('storage.DataStorage')
1
11403
* def db = new mystorage
1
11404
* def db = db.setfeature(karate.info.featureFileName)
1
11405
* def separator = java.lang.System.getProperty("file.separator")
1
11406
* def outputpath = db.outputpath()
1
11407
* eval db.ensureDirectory(outputpath)
1
11408
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
11409
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
11410
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
11411
Given path 'geonetwork/srv/dut/inspire'
0
11412
And param service = 'CSW'
0
11413
And param version = '2.0.2'
0
11414
And param request = 'GetRecordById'
0
11415
And param id = 'a301ddc7-c26f-42d8-b367-509ae5ae47d0'
0
11416
And param elementsetname = 'full'
0
11417
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
11418
When method get
288
11419
Then status 200
0
11420
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a301ddc7-c26f-42d8-b367-509ae5ae47d0'
1
11421
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
11422
* def title = get response //citation/CI_Citation/title/CharacterString
1
11423
* def email = get response //electronicMailAddress/CharacterString
1
11424
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
11425
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
11426
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
11427
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
11428
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
11429
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
11430
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
11431
* print connectUrl
0
15:15:34.414 [print] https://geodata.nationaalgeoregister.nl/luchtfoto/rgb/wms?&request=GetCapabilities
11432
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
11433
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
11434
* print organisationpath
0
15:15:34.415 [print] Beheer PDOK
11435
* print operateson
0
15:15:34.415 [print] [
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=74aca3eb-c38b-4214-9537-e0abc69e11b5#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=5b274449-b6c2-4672-a32f-e0bd40975a53#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=df15af6e-0d21-4437-a69f-802be3479bba#MD_DataIdentification",
"https://www.nationaalgeoregister.nl:443/geonetwork/srv/dut/csw?service=CSW&request=GetRecordById&version=2.0.2&outputSchema=http://www.isotc211.org/2005/gmd&elementSetName=full&id=64ff8561-5c56-4cc1-ae0e-94366fb70b7e#MD_DataIdentification"
]
11436
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
11437
* eval db.writeln('"a301ddc7-c26f-42d8-b367-509ae5ae47d0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
11438
* eval db.writeln('"a301ddc7-c26f-42d8-b367-509ae5ae47d0","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.302:18]1c9b43c3-064d-40c3-aa7c-879b7376ef6f
ms: 286
>>
Background:
11439
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
11440
* def mystorage = Java.type('storage.DataStorage')
1
11441
* def db = new mystorage
1
11442
* def db = db.setfeature(karate.info.featureFileName)
1
11443
* def separator = java.lang.System.getProperty("file.separator")
1
11444
* def outputpath = db.outputpath()
1
11445
* eval db.ensureDirectory(outputpath)
1
11446
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
11447
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
11448
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
11449
Given path 'geonetwork/srv/dut/inspire'
0
11450
And param service = 'CSW'
0
11451
And param version = '2.0.2'
0
11452
And param request = 'GetRecordById'
0
11453
And param id = '1c9b43c3-064d-40c3-aa7c-879b7376ef6f'
0
11454
And param elementsetname = 'full'
0
11455
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
11456
When method get
272
11457
Then status 200
0
11458
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1c9b43c3-064d-40c3-aa7c-879b7376ef6f'
1
11459
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
11460
* def title = get response //citation/CI_Citation/title/CharacterString
1
11461
* def email = get response //electronicMailAddress/CharacterString
1
11462
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
11463
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
11464
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
11465
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
11466
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
11467
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
11468
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
11469
* print connectUrl
0
15:15:34.548 [print] https://geodata.nationaalgeoregister.nl/wko/wms?request=GetCapabilities
11470
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
11471
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
11472
* print organisationpath
0
15:15:34.549 [print] Beheer PDOK
11473
* print operateson
0
15:15:34.549 [print] https://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=dc5b522e-3e14-4738-9e8e-2401e1b19ef2#MD_DataIdentification
11474
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
11475
* eval db.writeln('"1c9b43c3-064d-40c3-aa7c-879b7376ef6f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
4
11476
* eval db.writeln('"1c9b43c3-064d-40c3-aa7c-879b7376ef6f","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.303:18]1c0dcc64-91aa-4d44-a9e3-54355556f5e7
ms: 283
>>
Background:
11477
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
11478
* def mystorage = Java.type('storage.DataStorage')
1
11479
* def db = new mystorage
1
11480
* def db = db.setfeature(karate.info.featureFileName)
1
11481
* def separator = java.lang.System.getProperty("file.separator")
1
11482
* def outputpath = db.outputpath()
1
11483
* eval db.ensureDirectory(outputpath)
1
11484
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
11485
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
11486
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
11487
Given path 'geonetwork/srv/dut/inspire'
0
11488
And param service = 'CSW'
0
11489
And param version = '2.0.2'
0
11490
And param request = 'GetRecordById'
0
11491
And param id = '1c0dcc64-91aa-4d44-a9e3-54355556f5e7'
0
11492
And param elementsetname = 'full'
0
11493
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
11494
When method get
266
11495
Then status 200
0
11496
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '1c0dcc64-91aa-4d44-a9e3-54355556f5e7'
1
11497
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
11498
* def title = get response //citation/CI_Citation/title/CharacterString
1
11499
* def email = get response //electronicMailAddress/CharacterString
1
11500
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
11501
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
11502
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
11503
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
11504
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
11505
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
11506
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
11507
* print connectUrl
0
15:15:34.598 [print] https://geodata.nationaalgeoregister.nl/bag/wfs/v1_1?request=getCapabilities&service=WFS
11508
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
11509
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
11510
* print organisationpath
0
15:15:34.600 [print] Beheer PDOK
11511
* print operateson
0
15:15:34.600 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=aa3b5e6e-7baa-40c0-8972-3353e927ec2f#MD_DataIdentification
11512
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
11513
* eval db.writeln('"1c0dcc64-91aa-4d44-a9e3-54355556f5e7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
5
11514
* eval db.writeln('"1c0dcc64-91aa-4d44-a9e3-54355556f5e7","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.304:18]3d759186-7cee-4218-aa44-165f3922fbbb
ms: 278
>>
Background:
11515
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
11516
* def mystorage = Java.type('storage.DataStorage')
1
11517
* def db = new mystorage
1
11518
* def db = db.setfeature(karate.info.featureFileName)
1
11519
* def separator = java.lang.System.getProperty("file.separator")
1
11520
* def outputpath = db.outputpath()
1
11521
* eval db.ensureDirectory(outputpath)
1
11522
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
11523
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
11524
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
11525
Given path 'geonetwork/srv/dut/inspire'
1
11526
And param service = 'CSW'
0
11527
And param version = '2.0.2'
0
11528
And param request = 'GetRecordById'
0
11529
And param id = '3d759186-7cee-4218-aa44-165f3922fbbb'
0
11530
And param elementsetname = 'full'
0
11531
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
11532
When method get
266
11533
Then status 200
0
11534
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '3d759186-7cee-4218-aa44-165f3922fbbb'
1
11535
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
11536
* def title = get response //citation/CI_Citation/title/CharacterString
1
11537
* def email = get response //electronicMailAddress/CharacterString
1
11538
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
11539
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
11540
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
11541
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
1
11542
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
1
11543
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
1
11544
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
11545
* print connectUrl
0
15:15:34.656 [print] https://geodata.nationaalgeoregister.nl/inspire/tn-w/wms?request=GetCapabilities
11546
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
11547
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
11548
* print organisationpath
0
15:15:34.657 [print] Beheer PDOK
11549
* print operateson
0
15:15:34.657 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=5951efa2-1ff3-4763-a966-a2f5497679ee#MD_DataIdentification
11550
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
11551
* eval db.writeln('"3d759186-7cee-4218-aa44-165f3922fbbb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
11552
* eval db.writeln('"3d759186-7cee-4218-aa44-165f3922fbbb","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.305:18]a2724dae-ebad-4a07-9405-49bddfde3368
ms: 300
>>
Background:
11553
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
11554
* def mystorage = Java.type('storage.DataStorage')
1
11555
* def db = new mystorage
1
11556
* def db = db.setfeature(karate.info.featureFileName)
1
11557
* def separator = java.lang.System.getProperty("file.separator")
1
11558
* def outputpath = db.outputpath()
1
11559
* eval db.ensureDirectory(outputpath)
1
11560
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
11561
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
11562
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
11563
Given path 'geonetwork/srv/dut/inspire'
0
11564
And param service = 'CSW'
0
11565
And param version = '2.0.2'
0
11566
And param request = 'GetRecordById'
0
11567
And param id = 'a2724dae-ebad-4a07-9405-49bddfde3368'
5
11568
And param elementsetname = 'full'
0
11569
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
11570
When method get
280
11571
Then status 200
0
11572
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'a2724dae-ebad-4a07-9405-49bddfde3368'
1
11573
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
11574
* def title = get response //citation/CI_Citation/title/CharacterString
1
11575
* def email = get response //electronicMailAddress/CharacterString
5
11576
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
11577
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
11578
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
11579
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
11580
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
11581
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
11582
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
11583
* print connectUrl
0
15:15:34.714 [print] https://geodata.nationaalgeoregister.nl/rws/verkeersscheidingsstelsel/wfs/v2_0?service=WFS&request=getcapabilities
11584
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
11585
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
0
11586
* print organisationpath
0
15:15:34.715 [print] Beheer PDOK
11587
* print operateson
0
15:15:34.715 [print] http://nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=5996e444-f7f3-40d2-b485-8b9af6e8aa89#MD_DataIdentification
11588
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
11589
* eval db.writeln('"a2724dae-ebad-4a07-9405-49bddfde3368","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
1
11590
* eval db.writeln('"a2724dae-ebad-4a07-9405-49bddfde3368","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.306:18]25a99d92-ea8a-4163-82ab-3521c9b0c96b
ms: 292
>>
Background:
11591
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
11592
* def mystorage = Java.type('storage.DataStorage')
1
11593
* def db = new mystorage
1
11594
* def db = db.setfeature(karate.info.featureFileName)
1
11595
* def separator = java.lang.System.getProperty("file.separator")
1
11596
* def outputpath = db.outputpath()
1
11597
* eval db.ensureDirectory(outputpath)
1
11598
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
11599
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
11600
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
11601
Given path 'geonetwork/srv/dut/inspire'
1
11602
And param service = 'CSW'
0
11603
And param version = '2.0.2'
0
11604
And param request = 'GetRecordById'
0
11605
And param id = '25a99d92-ea8a-4163-82ab-3521c9b0c96b'
1
11606
And param elementsetname = 'full'
0
11607
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
11608
When method get
279
11609
Then status 200
0
11610
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == '25a99d92-ea8a-4163-82ab-3521c9b0c96b'
1
11611
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
11612
* def title = get response //citation/CI_Citation/title/CharacterString
1
11613
* def email = get response //electronicMailAddress/CharacterString
1
11614
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
11615
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
0
11616
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
11617
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
11618
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
11619
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
11620
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
11621
* print connectUrl
0
15:15:34.842 [print] https://geodata.nationaalgeoregister.nl/bestandbodemgebruik2015/wfs?request=GetCapabilities
11622
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
11623
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
11624
* print organisationpath
0
15:15:34.843 [print] Beheer PDOK
11625
* print operateson
0
15:15:34.843 [print] http://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=2d3dd6d2-2d2b-4b5f-9e30-86e19ed77a56#MD_DataIdentification
11626
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
0
11627
* eval db.writeln('"25a99d92-ea8a-4163-82ab-3521c9b0c96b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
11628
* eval db.writeln('"25a99d92-ea8a-4163-82ab-3521c9b0c96b","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2
Scenario Outline: [1.307:18]cea38797-ea4b-4969-b979-8d25eb543a6c
ms: 284
>>
Background:
11629
* url 'http://nationaalgeoregister.nl/'
1
15:15:10.614 karate.env system property was:
11630
* def mystorage = Java.type('storage.DataStorage')
1
11631
* def db = new mystorage
1
11632
* def db = db.setfeature(karate.info.featureFileName)
1
11633
* def separator = java.lang.System.getProperty("file.separator")
1
11634
* def outputpath = db.outputpath()
1
11635
* eval db.ensureDirectory(outputpath)
1
11636
* eval db.writeheaderservice(outputpath + separator + "services.csv" )
1
11637
* eval db.writeheaderservice(outputpath + separator + "services-Beheer PDOK.csv" )
1
11638
* def idfile = db.outputpath("T01_ids") + separator + 'idsService.json'
1
11639
Given path 'geonetwork/srv/dut/inspire'
2
11640
And param service = 'CSW'
0
11641
And param version = '2.0.2'
0
11642
And param request = 'GetRecordById'
0
11643
And param id = 'cea38797-ea4b-4969-b979-8d25eb543a6c'
0
11644
And param elementsetname = 'full'
0
11645
And param outputSchema = 'http://www.isotc211.org/2005/gmd'
0
11646
When method get
270
11647
Then status 200
0
11648
And match /GetRecordByIdResponse/MD_Metadata/fileIdentifier/CharacterString == 'cea38797-ea4b-4969-b979-8d25eb543a6c'
1
11649
* def scopecode = get response //MD_Metadata/hierarchyLevel/MD_ScopeCode/@codeListValue
1
11650
* def title = get response //citation/CI_Citation/title/CharacterString
1
11651
* def email = get response //electronicMailAddress/CharacterString
1
11652
* def organisationpath1 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/Anchor')
1
11653
* def organisationpath2 = karate.get('//MD_Metadata/contact/CI_ResponsibleParty/organisationName/CharacterString')
1
11654
* def organisationpath = organisationpath1 ? organisationpath1 : organisationpath2
0
11655
* def metadataStandardVersionpath = karate.get ('/GetRecordByIdResponse/MD_Metadata/metadataStandardVersion/CharacterString')
0
11656
* def MD_DataIdentificationCitationAnchor = karate.get ('/GetRecordByIdResponse/MD_Metadata/identificationInfo/MD_DataIdentification/citation/CI_Citation/identifier//@href')
0
11657
* def connectrawUrl = karate.get ('/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/linkage/URL')
0
11658
* def connectUrl = db.getCorrectedUrl(connectrawUrl)
0
11659
* print connectUrl
0
15:15:34.886 [print] https://geodata.nationaalgeoregister.nl/inspire/elu/wms?request=GetCapabilities
11660
* def protocol = karate.get ( '/GetRecordByIdResponse/MD_Metadata/distributionInfo/MD_Distribution/transferOptions/MD_DigitalTransferOptions/onLine/CI_OnlineResource/protocol/CharacterString')
0
11661
* def operateson = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/operatesOn/@href
1
11662
* print organisationpath
0
15:15:34.887 [print] Beheer PDOK
11663
* print operateson
0
15:15:34.887 [print] https://nationaalgeoregister.nl/geonetwork/srv/en/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id=6318009c-7b11-4ab9-9929-735584dfb692#MD_DataIdentification
11664
* def servicetype = get response //MD_Metadata/identificationInfo/SV_ServiceIdentification/serviceType/LocalName
1
11665
* eval db.writeln('"cea38797-ea4b-4969-b979-8d25eb543a6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's.csv')
2
11666
* eval db.writeln('"cea38797-ea4b-4969-b979-8d25eb543a6c","'+ title + '","' + connectUrl + '","' + protocol + '","' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '","'+ email + '","' + (metadataStandardVersionpath ? metadataStandardVersionpath : 'no metadatastandard path found') + '","' + operateson + '","' + db.getdatasetuuid(operateson) + '","' + servicetype + '"', db.outputpath() + separator + scopecode + 's-' + (organisationpath ? organisationpath : 'no organisationName found in dataset record') + '.csv')
2